repo stringlengths 7 64 | file_url stringlengths 81 338 | file_path stringlengths 5 257 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:25:31 2026-01-05 01:50:38 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/components/transaction_messages_filter/utils.tsx | apps/web-cheqd/src/components/transaction_messages_filter/utils.tsx | export const getFilterLabels = () => [
{
key: 'none',
display: 'none',
},
{
key: 'bank',
display: 'bank',
},
{
key: 'crisis',
display: 'crisis',
},
{
key: 'cheqd',
display: 'cheqd',
},
{
key: 'distribution',
display: 'distribution',
},
{
key: 'governance... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/components/did/index.tsx | apps/web-cheqd/src/components/did/index.tsx | import React from 'react';
import Link from 'next/link';
import Typography from '@mui/material/Typography';
import { DID_URL } from '@/utils/go_to_page';
import useStyles from './styles';
const DID: React.FC<{ className?: string; did: string; href?: (did: string) => string }> = ({
className,
did,
href = DID_URL,... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/components/did/styles.ts | apps/web-cheqd/src/components/did/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
color: theme.palette.custom.fonts.highlight,
wordBreak: 'break-all',
'&:hover': {
cursor: 'pointer',
},
},
}));
export default useStyles;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/components/transactions_list/components/desktop/index.tsx | apps/web-cheqd/src/components/transactions_list/components/desktop/index.tsx | import Loading from '@/components/loading';
import Result from '@/components/result';
import Tag from '@/components/tag';
import Timestamp from '@/components/Timestamp';
import useStyles from '@/components/transactions_list/components/desktop/styles';
import { columns } from '@/components/transactions_list/components/d... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/components/msg/index.tsx | apps/web-cheqd/src/components/msg/index.tsx | // Custom types
export { default as MsgCreateDidDoc } from '@/components/msg/cheqd/did/create_did_doc';
export { default as MsgUpdateDidDoc } from '@/components/msg/cheqd/did/update_did_doc';
export { default as MsgDeactivateDidDoc } from '@/components/msg/cheqd/did/deactivate_did_doc';
export { default as MsgCreateRe... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/components/msg/utils.tsx | apps/web-cheqd/src/components/msg/utils.tsx | import * as COMPONENTS from '@/components/msg';
import Tag from '@/components/tag';
import * as MODELS from '@/models';
import type { Log } from '@/models/msg/types';
import isKeyOf from '@/utils/isKeyOf';
import type { TFunction } from '@/hooks/useAppTranslation';
import * as R from 'ramda';
import { FC } from 'react'... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/components/msg/cheqd/resource/create_resource/index.tsx | apps/web-cheqd/src/components/msg/cheqd/resource/create_resource/index.tsx | import AppTrans from '@/components/AppTrans';
import Resource from '@/components/resource';
import { MsgCreateResource } from '@/models/msg/cheqd/resource/msg_create_resource';
import Typography from '@mui/material/Typography';
import React from 'react';
const CreateResource = (props: { message: MsgCreateResource }) =... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/components/msg/cheqd/did/update_did_doc/index.tsx | apps/web-cheqd/src/components/msg/cheqd/did/update_did_doc/index.tsx | import AppTrans from '@/components/AppTrans';
import DID from '@/components/did';
import { MsgUpdateDidDoc } from '@/models/msg/cheqd/did/msg_update_did';
import Typography from '@mui/material/Typography';
import React from 'react';
const UpdateDidDoc = (props: { message: MsgUpdateDidDoc }) => {
const { message } = ... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/components/msg/cheqd/did/deactivate_did_doc/index.tsx | apps/web-cheqd/src/components/msg/cheqd/did/deactivate_did_doc/index.tsx | import AppTrans from '@/components/AppTrans';
import DID from '@/components/did';
import { MsgDeactivateDidDoc } from '@/models/msg/cheqd/did/msg_deactivate_did';
import Typography from '@mui/material/Typography';
import React from 'react';
const DeactivateDidDoc = (props: { message: MsgDeactivateDidDoc }) => {
cons... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/components/msg/cheqd/did/create_did_doc/index.tsx | apps/web-cheqd/src/components/msg/cheqd/did/create_did_doc/index.tsx | import AppTrans from '@/components/AppTrans';
import DID from '@/components/did';
import { MsgCreateDidDoc } from '@/models/msg/cheqd/did/msg_create_did';
import Typography from '@mui/material/Typography';
import React from 'react';
const CreateDidDoc = (props: { message: MsgCreateDidDoc }) => {
const { message } = ... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/models/index.tsx | apps/web-cheqd/src/models/index.tsx | // =========================
// Cheqd
// =========================
export { default as MsgCreateDidDoc } from '@/models/msg/cheqd/did/msg_create_did';
export { default as MsgUpdateDidDoc } from '@/models/msg/cheqd/did/msg_update_did';
export { default as MsgDeactivateDidDoc } from '@/models/msg/cheqd/did/msg_deactivate... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/models/gov_params/index.ts | apps/web-cheqd/src/models/gov_params/index.ts | interface Params {
quorum: string;
threshold: string;
min_deposit: { denom: string; amount: string }[];
voting_period: number;
burn_vote_veto: boolean;
veto_threshold: string;
max_deposit_period: number;
min_initial_deposit_ratio: string;
}
class GovParams {
public depositParams: {
minDeposit: Ar... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/models/types/index.ts | apps/web-cheqd/src/models/types/index.ts | import type { BaseCategories, Log } from 'ui/models/msg/types';
export type CustomCategories = 'cheqd'; // custom modules
export type Categories = BaseCategories | CustomCategories;
export type { Log };
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/models/msg/cheqd/commons.ts | apps/web-cheqd/src/models/msg/cheqd/commons.ts | type KeyValuePair = {
key: string;
value: string;
};
export type SignInfo = {
verificationMethodId: string;
signature: string;
};
export type Service = {
id: string;
type: string;
serviceEndpoint: string;
};
export type VerificationMethod = {
id: string;
type: string;
controller: string;
/** opt... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/models/msg/cheqd/resource/msg_create_resource.ts | apps/web-cheqd/src/models/msg/cheqd/resource/msg_create_resource.ts | import { Categories } from '@/models/types';
import { SignInfo } from '../commons';
/* eslint-disable */
export class MsgCreateResource {
public category: Categories;
public type: string;
public json: any;
public payload?: MsgCreateResourcePayload;
public signatures: SignInfo[];
constructor(type: string, ... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/models/msg/cheqd/did/msg_create_did.ts | apps/web-cheqd/src/models/msg/cheqd/did/msg_create_did.ts | import { Categories } from '@/models/types';
import { Service, SignInfo, VerificationMethod } from '../commons';
/* eslint-disable */
type MsgCreateDidDocPayload = {
context: string[];
id: string;
controller: string[];
verificationMethod: VerificationMethod[];
authentication: string[];
assertionMethod: str... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/models/msg/cheqd/did/msg_deactivate_did.ts | apps/web-cheqd/src/models/msg/cheqd/did/msg_deactivate_did.ts | import { Categories } from '@/models/types';
import { SignInfo } from '../commons';
/* eslint-disable */
type MsgDeactivateDidDocPayload = {
id: string;
versionId: string;
};
export class MsgDeactivateDidDoc {
public category: Categories;
public type: string;
public json: any;
public payload?: MsgDeact... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/models/msg/cheqd/did/msg_update_did.ts | apps/web-cheqd/src/models/msg/cheqd/did/msg_update_did.ts | import { Categories } from '@/models/types';
import { Service, SignInfo, VerificationMethod } from '../commons';
/* eslint-disable */
type MsgUpdateDidDocPayload = {
context: string[];
id: string;
controller: string[];
verificationMethod: VerificationMethod[];
authentication: string[];
assertionMethod: str... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/utils/go_to_page/index.ts | apps/web-cheqd/src/utils/go_to_page/index.ts | import chainConfig from '@/chainConfig';
const network = process.env.NEXT_PUBLIC_CHAIN_TYPE;
const { prefix } = chainConfig();
export const HOME = '/';
export const BLOCKS = '/blocks';
export const BLOCK_DETAILS = (slot: string | number): string => `/blocks/${slot}`;
export const VALIDATOR_DETAILS = (address: string... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/params/hooks.ts | apps/web-cheqd/src/screens/params/hooks.ts | import numeral from 'numeral';
import * as R from 'ramda';
import { useCallback, useState } from 'react';
import chainConfig from '@/chainConfig';
import { ParamsQuery, useParamsQuery } from '@/graphql/types/general_types';
import { DistributionParams, GovParams, MintParams, SlashingParams, StakingParams } from '@/mode... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/proposal_details/types.ts | apps/web-cheqd/src/screens/proposal_details/types.ts | export interface OverviewType {
title: string;
id: number;
proposer: string;
description: string;
metadata: string;
status: string;
submitTime: string;
depositEndTime: string;
votingStartTime: string | null;
votingEndTime: string | null;
content: {
recipient: string;
amount: Array<{
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/proposal_details/hooks.ts | apps/web-cheqd/src/screens/proposal_details/hooks.ts | import { useRouter } from 'next/router';
import * as R from 'ramda';
import { useCallback, useState } from 'react';
import type { ProposalState } from '@/screens/proposal_details/types';
import { ProposalDetailsQuery, useProposalDetailsQuery } from '@/graphql/types/general_types';
// =========================
// overv... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/proposal_details/components/votes_graph/hooks.ts | apps/web-cheqd/src/screens/proposal_details/components/votes_graph/hooks.ts | import Big from 'big.js';
import { useRouter } from 'next/router';
import * as R from 'ramda';
import { useCallback, useState } from 'react';
import chainConfig from '@/chainConfig';
import {
ProposalDetailsTallyQuery,
useProposalDetailsTallyQuery,
} from '@/graphql/types/general_types';
import type { VotesGraphSta... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/proposal_details/components/overview/index.tsx | apps/web-cheqd/src/screens/proposal_details/components/overview/index.tsx | import Divider from '@mui/material/Divider';
import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import numeral from 'numeral';
import * as R from 'ramda';
import { FC, useMemo, useCallback } from 'react';
import { useRecoilValue } from 'recoil';
import Box from... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/proposal_details/components/overview/styles.ts | apps/web-cheqd/src/screens/proposal_details/components/overview/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
'& .label': {
color: theme.palette.custom.fonts.fontThree,
},
'& .content': {
marginBottom: theme.spacing(2),
display: 'block',
[theme.breakpoints.up('lg')]: {
display: 'flex',... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/proposal_details/components/overview/components/metadata_loader/index.tsx | apps/web-cheqd/src/screens/proposal_details/components/overview/components/metadata_loader/index.tsx | import React, { useEffect, useState } from 'react';
import Loading from '@/components/loading';
interface MetadataLoaderProps {
metadata: string;
}
// Checks if a string is a valid URL
const isValidUrl = (url: string) => {
const pattern = /^(ftp|http|https|ipfs):\/\/[^ "]+$/;
return pattern.test(url);
};
// Ch... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/home/components/data_blocks/index.test.tsx | apps/web-cheqd/src/screens/home/components/data_blocks/index.test.tsx | import { ApolloClient, ApolloProvider, from, InMemoryCache } from '@apollo/client';
import { MockedProvider } from '@apollo/client/testing';
import renderer from 'react-test-renderer';
import {
ActiveValidatorCountDocument,
AverageBlockTimeDocument,
LatestBlockHeightListenerDocument,
TokenPriceListenerDocument,... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/home/components/data_blocks/index.tsx | apps/web-cheqd/src/screens/home/components/data_blocks/index.tsx | import useAppTranslation from '@/hooks/useAppTranslation';
import numeral from 'numeral';
import { FC } from 'react';
import SingleBlock from '@/screens/home/components/data_blocks/components/single_block';
import { useDataBlocks } from '@/screens/home/components/data_blocks/hooks';
import useStyles from '@/screens/hom... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/home/components/data_blocks/styles.ts | apps/web-cheqd/src/screens/home/components/data_blocks/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
display: 'grid',
gap: theme.spacing(1),
gridTemplateRows: 'auto',
[theme.breakpoints.up('sm')]: {
gridTemplateColumns: 'repeat(2, 1fr)',
},
[theme.breakpoints.up('lg')]: {
gap: theme.s... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/home/components/data_blocks/hooks.ts | apps/web-cheqd/src/screens/home/components/data_blocks/hooks.ts | import numeral from 'numeral';
import * as R from 'ramda';
import { useState, useCallback } from 'react';
import chainConfig from '@/chainConfig';
import {
ActiveValidatorCountQuery,
AverageBlockTimeQuery,
TokenPriceListenerSubscription,
useActiveValidatorCountQuery,
useAverageBlockTimeQuery,
useLatestBlock... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/home/components/data_blocks/components/index.ts | apps/web-cheqd/src/screens/home/components/data_blocks/components/index.ts | import SingleBlock from '@/screens/home/components/data_blocks/components/single_block';
export { SingleBlock };
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/home/components/data_blocks/components/single_block/index.test.tsx | apps/web-cheqd/src/screens/home/components/data_blocks/components/single_block/index.test.tsx | import renderer from 'react-test-renderer';
import SingleBlock from '@/screens/home/components/data_blocks/components/single_block';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// unit tests
// ==================================
describe('screen: Home/SingleBlock', () => {
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/home/components/data_blocks/components/single_block/index.tsx | apps/web-cheqd/src/screens/home/components/data_blocks/components/single_block/index.tsx | import Typography from '@mui/material/Typography';
import { FC } from 'react';
import useStyles from '@/screens/home/components/data_blocks/components/single_block/styles';
type SingleBlockProps = {
className?: string;
label: string;
value: string;
description?: string;
};
const SingleBlock: FC<SingleBlockPro... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/home/components/data_blocks/components/single_block/styles.ts | apps/web-cheqd/src/screens/home/components/data_blocks/components/single_block/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
padding: theme.spacing(2),
background: theme.palette.primary.main,
borderRadius: theme.shape.borderRadius,
height: '110px',
display: 'flex',
flexDirection: 'column',
alignItems: 'flex-start',
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/index.tsx | apps/web-cheqd/src/screens/accounts/index.tsx | import React from 'react';
import useAppTranslation from '@/hooks/useAppTranslation';
import { NextSeo } from 'next-seo';
import Layout from '@/components/layout';
import useStyles from '@/screens/accounts/styles';
import List from '@/screens/accounts/components/list';
const Accounts = () => {
const { t } = useAppTr... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/styles.ts | apps/web-cheqd/src/screens/accounts/styles.ts | import { makeStyles } from 'tss-react/mui';
import { CSSObject } from 'tss-react';
const useStyles = makeStyles()((theme) => ({
root: {
...(theme.mixins.layout as CSSObject),
'& a': {
color: theme.palette.custom.fonts.highlight,
},
},
}));
export default useStyles;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/index.test.tsx | apps/web-cheqd/src/screens/accounts/components/list/index.test.tsx | /* eslint-disable object-curly-newline */
import { TopAccountsDocument } from '@/graphql/types/general_types';
import List from '@/screens/accounts/components/list';
import MockTheme from '@/tests/mocks/MockTheme';
import { mockClient } from '@/tests/mocks/mockApollo';
import wait from '@/tests/utils/wait';
import { Ap... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/index.tsx | apps/web-cheqd/src/screens/accounts/components/list/index.tsx | /* eslint-disable object-curly-newline, react/require-default-props */
import Box from '@/components/box';
import LoadAndExist from '@/components/load_and_exist';
import Loading from '@/components/loading';
import Pagination from '@/components/pagination';
import { useProfilesRecoil } from '@/recoil/profiles/hooks';
im... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/styles.ts | apps/web-cheqd/src/screens/accounts/components/list/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
minHeight: '100vh',
},
refreshDelayNotice: {
padding: '1rem',
},
paginate: {
marginTop: theme.spacing(3),
},
mobile: {
[theme.breakpoints.up('lg')]: {
display: 'none',
},
},
desk... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/types.ts | apps/web-cheqd/src/screens/accounts/components/list/types.ts | /**
* `ItemType` is returned by the `useAccounts` hook.
* @property {number} rank - The rank of the address in the top 100 addresses.
* @property {string} address - The address of the account
* @property {number} balance - The balance of the address in the token.
* @property {number} percentage - The percentage of... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/hooks.ts | apps/web-cheqd/src/screens/accounts/components/list/hooks.ts | /* eslint-disable turbo/no-undeclared-env-vars, camelcase, object-curly-newline */
import chainConfig from '@/chainConfig';
import { readMarket } from '@/recoil/market/selectors';
import { useTopAccountsQuery } from '@/graphql/types/general_types';
import { UseAccountsState } from '@/screens/accounts/components/list/ty... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/mobile/index.test.tsx | apps/web-cheqd/src/screens/accounts/components/list/components/mobile/index.test.tsx | import React from 'react';
import renderer from 'react-test-renderer';
import MockTheme from '@/tests/mocks/MockTheme';
import Mobile from '@/screens/accounts/components/list/components/mobile';
// ==================================
// mocks
// ==================================
const mockI18n = {
t: (key: string) =... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/mobile/index.tsx | apps/web-cheqd/src/screens/accounts/components/list/components/mobile/index.tsx | /* eslint-disable object-curly-newline, react/require-default-props */
import React, { FC } from 'react';
import Row from '@/screens/accounts/components/list/components/mobile/components/Row';
import useStyles from '@/screens/accounts/components/list/components/mobile/styles';
import { MobileProps } from '@/screens/acc... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/mobile/styles.ts | apps/web-cheqd/src/screens/accounts/components/list/components/mobile/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
minHeight: '100%',
},
list: {
margin: theme.spacing(2, 0),
},
item: {
marginBottom: theme.spacing(2),
'& .label': {
marginBottom: theme.spacing(1),
color: theme.palette.custom.fonts.fo... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/mobile/types.ts | apps/web-cheqd/src/screens/accounts/components/list/components/mobile/types.ts | import { ItemType } from '@/screens/accounts/components/list/types';
export type MobileProps = {
className?: string | undefined;
items: ItemType[] | undefined;
};
export type RowProps = {
data: ItemType;
index: number;
itemCount: number | undefined;
};
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/mobile/components/Row.tsx | apps/web-cheqd/src/screens/accounts/components/list/components/mobile/components/Row.tsx | /* eslint-disable object-curly-newline */
import chainConfig from '@/chainConfig';
import { Divider, Typography } from '@mui/material';
import AvatarName from '@/components/avatar_name';
import { useProfileRecoil } from '@/recoil/profiles/hooks';
import { formatToken } from '@/utils/format_token';
import { ACCOUNT_DETA... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/desktop/index.test.tsx | apps/web-cheqd/src/screens/accounts/components/list/components/desktop/index.test.tsx | import React from 'react';
import renderer from 'react-test-renderer';
import MockTheme from '@/tests/mocks/MockTheme';
import Desktop from '@/screens/accounts/components/list/components/desktop';
// ==================================
// mocks
// ==================================
const mockI18n = {
t: (key: string)... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/desktop/index.tsx | apps/web-cheqd/src/screens/accounts/components/list/components/desktop/index.tsx | /* eslint-disable react/prop-types */
/* eslint-disable react/jsx-one-expression-per-line, object-curly-newline */
import { Table, TableBody, TableHead, TableRow } from '@mui/material';
import Header from '@/screens/accounts/components/list/components/desktop/components/Header';
import Row from '@/screens/accounts/comp... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/desktop/utils.tsx | apps/web-cheqd/src/screens/accounts/components/list/components/desktop/utils.tsx | import useGrid from '@/hooks/useGrid';
const columns: Parameters<typeof useGrid>[0] = [
{
key: 'top_rank',
width: 5,
},
{
key: 'top_address',
width: 40,
},
{
key: 'top_dtag',
width: 10,
},
{
key: 'top_balance',
width: 25,
},
{
key: 'top_percentage',
align: 'rig... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/desktop/styles.ts | apps/web-cheqd/src/screens/accounts/components/list/components/desktop/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
height: '100%',
'& .status': {
'&.one': {
color: theme.palette.custom.tags.one,
},
'&.two': {
color: theme.palette.custom.tags.two,
},
'&.three': {
color: the... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/desktop/types.ts | apps/web-cheqd/src/screens/accounts/components/list/components/desktop/types.ts | import { CSSProperties, ReactNode } from 'react';
import { ItemType } from '@/screens/accounts/components/list/types';
export type DesktopProps = {
className?: string;
items: ItemType[] | undefined;
};
export type CellProps = {
style: CSSProperties;
rowIndex: number;
children: ReactNode;
cx: string;
};
ex... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/desktop/components/Row.tsx | apps/web-cheqd/src/screens/accounts/components/list/components/desktop/components/Row.tsx | /* eslint-disable object-curly-newline */
import AvatarName from '@/components/avatar_name';
import Typography from '@mui/material/Typography';
import chainConfig from '@/chainConfig';
import { useProfileRecoil } from '@/recoil/profiles/hooks';
import { formatToken } from '@/utils/format_token';
import { ACCOUNT_DETAIL... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/desktop/components/Cell.tsx | apps/web-cheqd/src/screens/accounts/components/list/components/desktop/components/Cell.tsx | /* eslint-disable object-curly-newline */
import TableCell from '@mui/material/TableCell';
import { FC } from 'react';
import { CellProps } from '@/screens/accounts/components/list/components/desktop/types';
export const Cell: FC<CellProps> = ({ style, children, cx }) => (
<TableCell style={style} className={cx}>
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/accounts/components/list/components/desktop/components/Header.tsx | apps/web-cheqd/src/screens/accounts/components/list/components/desktop/components/Header.tsx | /* eslint-disable object-curly-newline */
import SortArrows from '@/components/sort_arrows';
import TableCell from '@mui/material/TableCell';
import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { memo } from 'react';
import { HeaderProps } from '@/screens... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-cheqd/src/screens/transactions/hooks.ts | apps/web-cheqd/src/screens/transactions/hooks.ts | import * as R from 'ramda';
import { useState } from 'react';
import { convertMsgsToModels } from '@/components/msg/utils';
import {
TransactionsListenerSubscription,
useTransactionsListenerSubscription,
useTransactionsQuery,
} from '@/graphql/types/general_types';
import type { TransactionsState } from '@/screen... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/jest.setup.ts | apps/web-persistence/jest.setup.ts | import mockApollo from '@/tests/mocks/mockApollo';
import mockChainConfig from '@/tests/mocks/mockChainConfig';
import mockDayJs from '@/tests/mocks/mockDayJs';
import mockDynamicComponent from '@/tests/mocks/mockDynamicComponent';
import mockI18Next from '@/tests/mocks/mockI18Next';
import mockProfiles from '@/tests/m... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/jest.config.ts | apps/web-persistence/jest.config.ts | import configFromPreset from 'jest-presets/jest/node/jest-preset';
import nextJest from 'next/jest';
import { pathsToModuleNameMapper } from 'ts-jest';
import tsconfig from './tsconfig.json';
/* Creating a jest configuration for nextjs. */
const createJestConfig = nextJest({
dir: './',
})(configFromPreset);
const e... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/next-env.d.ts | apps/web-persistence/next-env.d.ts | /// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/graphql/types/general_types.ts | apps/web-persistence/src/graphql/types/general_types.ts | import { gql } from '@apollo/client';
import * as Apollo from '@apollo/client';
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | true |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/graphql/general/account_details_documents.ts | apps/web-persistence/src/graphql/general/account_details_documents.ts | export const AccountCommissionDocument = /* GraphQL */ `
query AccountCommission($validatorAddress: String!) {
commission: action_validator_commission_amount(address: $validatorAddress) {
coins
}
}
`;
export const AccountWithdrawalAddressDocument = /* GraphQL */ `
query AccountWithdrawalAddress($ad... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/graphql/general/validator_details_documents.ts | apps/web-persistence/src/graphql/general/validator_details_documents.ts | export const ValidatorDelegationsDocument = /* GraphQL */ `
query ValidatorDelegations(
$validatorAddress: String!
$offset: Int = 0
$limit: Int = 10
$pagination: Boolean! = true
) {
delegations: action_validator_delegations(
address: $validatorAddress
limit: $limit
offset: $off... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/_error.tsx | apps/web-persistence/src/pages/_error.tsx | import type { NextPage } from 'next';
import ErrorPage, { getInitialProps } from 'ui/pages/_error';
const MyError: NextPage = () => <ErrorPage />;
MyError.getInitialProps = getInitialProps;
export default MyError;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/_app.tsx | apps/web-persistence/src/pages/_app.tsx | import MyApp from '@/screens/app';
import { appWithTranslation } from 'next-i18next';
import 'react-toastify/dist/ReactToastify.css';
import 'shared-utils/assets/styles/global.css';
import nextI18NextConfig from '../../next-i18next.config';
export default appWithTranslation(MyApp, nextI18NextConfig);
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/404.tsx | apps/web-persistence/src/pages/404.tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import NotFound from '@/screens/404';
import type { NextPage } from 'next';
import nextI18NextConfig from '../../next-i18next.config';
const Custom404: NextPage = () => <NotFound />;
export const getStaticProps = withGetStaticProps(nextI18NextConfig);
expo... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/index.tsx | apps/web-persistence/src/pages/index.tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import type { NextPage } from 'next';
import Home from '@/screens/home';
import nextI18NextConfig from '../../next-i18next.config';
const HomePage: NextPage = () => <Home />;
export const getStaticProps = withGetStaticProps(
nextI18NextConfig,
'home',
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/[dtag].tsx | apps/web-persistence/src/pages/[dtag].tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import ProfileDetails from '@/screens/profile_details';
import type { NextPage } from 'next';
import nextI18NextConfig from '../../next-i18next.config';
const ProfileDetailsPage: NextPage = () => <ProfileDetails />;
export const getStaticPaths = () => ({ pa... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/_document.tsx | apps/web-persistence/src/pages/_document.tsx | import Document from 'next/document';
import DocumentComponent, { getInitialProps, DocumentComponentProps } from 'ui/pages/_document';
class MyDocument extends Document<DocumentComponentProps> {
render() {
return <DocumentComponent emotionStyleTags={this.props.emotionStyleTags} />;
}
}
MyDocument.getInitialPr... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/params/index.tsx | apps/web-persistence/src/pages/params/index.tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import Params from '@/screens/params';
import type { NextPage } from 'next';
import nextI18NextConfig from '../../../next-i18next.config';
const ParamsPage: NextPage = () => <Params />;
export const getStaticProps = withGetStaticProps(nextI18NextConfig, 'pa... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/wasmContracts/index.tsx | apps/web-persistence/src/pages/wasmContracts/index.tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import WasmContracts from '@/screens/wasmContracts';
import type { NextPage } from 'next';
import nextI18NextConfig from '../../../next-i18next.config';
const WasmContractsPage: NextPage = () => <WasmContracts />;
export const getStaticProps = withGetStatic... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/wasmContracts/[id].tsx | apps/web-persistence/src/pages/wasmContracts/[id].tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import WasmContractDetails from '@/screens/wasmContractDetails';
import type { NextPage } from 'next';
import nextI18NextConfig from '../../../next-i18next.config';
const WasmContractDetailsPage: NextPage = () => <WasmContractDetails />;
export const getSta... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/server-sitemap.xml/index.tsx | apps/web-persistence/src/pages/server-sitemap.xml/index.tsx | import ServerSitemap, { getServerSideProps } from 'ui/pages/server-sitemap.xml';
// This function is called by Next.js before rendering the page. It returns
// a list of URLs that should be included in the sitemap.
export { getServerSideProps };
// Next.js calls this function to render the page.
export default Server... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/validators/[address].tsx | apps/web-persistence/src/pages/validators/[address].tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import ValidatorDetails from '@/screens/validator_details';
import type { NextPage } from 'next';
import nextI18NextConfig from '../../../next-i18next.config';
const ValidatorDetailsPage: NextPage = () => <ValidatorDetails />;
export const getStaticPaths = ... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/validators/index.tsx | apps/web-persistence/src/pages/validators/index.tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import Validators from '@/screens/validators';
import type { NextPage } from 'next';
import nextI18NextConfig from '../../../next-i18next.config';
const ValidatorsPage: NextPage = () => <Validators />;
export const getStaticProps = withGetStaticProps(
nex... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/proposals/index.tsx | apps/web-persistence/src/pages/proposals/index.tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import type { NextPage } from 'next';
import Tokens from '@/screens/proposals';
import nextI18NextConfig from '../../../next-i18next.config';
const TokensPage: NextPage = () => <Tokens />;
export const getStaticProps = withGetStaticProps(nextI18NextConfig, ... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/proposals/[id].tsx | apps/web-persistence/src/pages/proposals/[id].tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import type { NextPage } from 'next';
import ProposalDetails from '@/screens/proposal_details';
import nextI18NextConfig from '../../../next-i18next.config';
const TokenDetailsPage: NextPage = () => <ProposalDetails />;
export const getStaticPaths = () => (... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/blocks/index.tsx | apps/web-persistence/src/pages/blocks/index.tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import type { NextPage } from 'next';
import Blocks from '@/screens/blocks';
import nextI18NextConfig from '../../../next-i18next.config';
const BlocksPage: NextPage = () => <Blocks />;
export const getStaticProps = withGetStaticProps(
nextI18NextConfig,
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/blocks/[height].tsx | apps/web-persistence/src/pages/blocks/[height].tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import type { NextPage } from 'next';
import BlockDetails from '@/screens/block_details';
import nextI18NextConfig from '../../../next-i18next.config';
const BlockDetailsPage: NextPage = () => <BlockDetails />;
export const getStaticPaths = () => ({ paths: ... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/accounts/[address].tsx | apps/web-persistence/src/pages/accounts/[address].tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import type { NextPage } from 'next';
import AccountDetails from '@/screens/account_details';
import nextI18NextConfig from '../../../next-i18next.config';
const AccountDetailsPage: NextPage = () => <AccountDetails />;
export const getStaticPaths = () => ({... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/transactions/index.tsx | apps/web-persistence/src/pages/transactions/index.tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import type { NextPage } from 'next';
import Transactions from '@/screens/transactions';
import nextI18NextConfig from '../../../next-i18next.config';
const TransactionsPage: NextPage = () => <Transactions />;
export const getStaticProps = withGetStaticProp... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/pages/transactions/[tx].tsx | apps/web-persistence/src/pages/transactions/[tx].tsx | import withGetStaticProps from '@/pages/withGetStaticProps';
import type { NextPage } from 'next';
import TransactionDetails from '@/screens/transaction_details';
import nextI18NextConfig from '../../../next-i18next.config';
const TransactionDetailsPage: NextPage = () => <TransactionDetails />;
export const getStatic... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/components/nav/components/desktop/index.tsx | apps/web-persistence/src/components/nav/components/desktop/index.tsx | import AppBar from '@mui/material/AppBar';
import ClickAwayListener from '@mui/material/ClickAwayListener';
import Drawer from '@mui/material/Drawer';
import { FC } from 'react';
import { useRecoilValue } from 'recoil';
import BigDipperLogoRed from 'shared-utils/assets/big-dipper-red.svg';
import BigDipperLogoWhite fro... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/components/nav/components/menu_items/utils.tsx | apps/web-persistence/src/components/nav/components/menu_items/utils.tsx | import {
BLOCKS,
HOME,
PARAMS,
PROPOSALS,
TRANSACTIONS,
VALIDATORS,
WASM_CONTRACTS,
} from '@/utils/go_to_page';
import BlockIcon from 'shared-utils/assets/icon-block.svg';
import HomeIcon from 'shared-utils/assets/icon-home.svg';
import ParamIcon from 'shared-utils/assets/icon-param.svg';
import Proposal... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/components/msg/utils.tsx | apps/web-persistence/src/components/msg/utils.tsx | import * as COMPONENTS from '@/components/msg';
import Tag from '@/components/tag';
import * as MODELS from '@/models';
import type { Log } from '@/models/msg/types';
import isKeyOf from '@/utils/isKeyOf';
import type { TFunction } from '@/hooks/useAppTranslation';
import * as R from 'ramda';
import { FC } from 'react'... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/models/gov_params/index.ts | apps/web-persistence/src/models/gov_params/index.ts | import * as R from 'ramda';
class GovParams {
public depositParams: {
minDeposit: Array<{
denom: string;
amount: string;
}>;
maxDepositPeriod: number;
};
public tallyParams: {
quorum: string;
threshold: string;
vetoThreshold: string;
};
public votingParams: {
votingP... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/utils/go_to_page/index.ts | apps/web-persistence/src/utils/go_to_page/index.ts | import chainConfig from '@/chainConfig';
const { prefix } = chainConfig();
export const HOME = '/';
export const BLOCKS = '/blocks';
export const BLOCK_DETAILS = (slot: string | number): string => `/blocks/${slot}`;
export const VALIDATOR_DETAILS = (address: string): string => `/validators/${address}`;
export const V... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/recoil/market/hooks.ts | apps/web-persistence/src/recoil/market/hooks.ts | import Big from 'big.js';
import numeral from 'numeral';
import { SetterOrUpdater, useRecoilState } from 'recoil';
import chainConfig from '@/chainConfig';
import { MarketDataQuery, useMarketDataQuery } from '@/graphql/types/general_types';
import { writeMarket } from '@/recoil/market/selectors';
import type { AtomStat... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/params/index.tsx | apps/web-persistence/src/screens/params/index.tsx | import { NextSeo } from 'next-seo';
import useAppTranslation from '@/hooks/useAppTranslation';
import BoxDetails from '@/components/box_details';
import Layout from '@/components/layout';
import LoadAndExist from '@/components/load_and_exist';
import { useParams } from '@/screens/params/hooks';
import useStyles from '@... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/params/utils.tsx | apps/web-persistence/src/screens/params/utils.tsx | import type { Distribution, Gov, Minting, Slashing, Staking } from '@/screens/params/types';
import { nanoToSeconds, secondsToDays } from '@/utils/time';
import type { TFunction } from '@/hooks/useAppTranslation';
import numeral from 'numeral';
const convertBySeconds = (seconds: number, t: TFunction) => {
const SECO... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/params/hooks.ts | apps/web-persistence/src/screens/params/hooks.ts | import numeral from 'numeral';
import * as R from 'ramda';
import { useCallback, useState } from 'react';
import chainConfig from '@/chainConfig';
import { ParamsQuery, useParamsQuery } from '@/graphql/types/general_types';
import { DistributionParams, GovParams, MintParams, SlashingParams, StakingParams } from '@/mode... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/proposal_details/types.ts | apps/web-persistence/src/screens/proposal_details/types.ts | export interface OverviewType {
title: string;
id: number;
proposer: string;
description: string;
metadata: string;
status: string;
submitTime: string;
depositEndTime: string;
votingStartTime: string | null;
votingEndTime: string | null;
content: {
recipient: string;
amount: Array<{
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/proposal_details/hooks.ts | apps/web-persistence/src/screens/proposal_details/hooks.ts | import { useRouter } from 'next/router';
import * as R from 'ramda';
import { useCallback, useState } from 'react';
import type { ProposalState } from '@/screens/proposal_details/types';
import { ProposalDetailsQuery, useProposalDetailsQuery } from '@/graphql/types/general_types';
// =========================
// overv... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/proposal_details/components/votes_graph/index.tsx | apps/web-persistence/src/screens/proposal_details/components/votes_graph/index.tsx | import Box from '@/components/box';
import InfoPopover from '@/components/info_popover';
import QuorumExplanation from '@/screens/proposal_details/components/votes_graph/components/quorum_explanation';
import { useVotesGraph } from '@/screens/proposal_details/components/votes_graph/hooks';
import useStyles from '@/scre... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/proposal_details/components/votes_graph/types.ts | apps/web-persistence/src/screens/proposal_details/components/votes_graph/types.ts | export interface VotesType {
yes: TokenUnit;
no: TokenUnit;
abstain: TokenUnit;
veto: TokenUnit;
}
export interface VotesGraphState {
votes: VotesType;
bonded: TokenUnit;
quorum: string;
}
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/proposal_details/components/votes_graph/hooks.ts | apps/web-persistence/src/screens/proposal_details/components/votes_graph/hooks.ts | import Big from 'big.js';
import { useRouter } from 'next/router';
import * as R from 'ramda';
import { useCallback, useState } from 'react';
import chainConfig from '@/chainConfig';
import {
ProposalDetailsTallyQuery,
useProposalDetailsTallyQuery,
} from '@/graphql/types/general_types';
import type { VotesGraphSta... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/proposal_details/components/overview/index.tsx | apps/web-persistence/src/screens/proposal_details/components/overview/index.tsx | import Divider from '@mui/material/Divider';
import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import numeral from 'numeral';
import * as R from 'ramda';
import { FC, useMemo, useCallback } from 'react';
import { useRecoilValue } from 'recoil';
import Box from... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/proposal_details/components/overview/styles.ts | apps/web-persistence/src/screens/proposal_details/components/overview/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
'& .label': {
color: theme.palette.custom.fonts.fontThree,
},
'& .content': {
marginBottom: theme.spacing(2),
display: 'block',
[theme.breakpoints.up('lg')]: {
display: 'flex',... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/proposal_details/components/overview/components/metadata_loader/index.tsx | apps/web-persistence/src/screens/proposal_details/components/overview/components/metadata_loader/index.tsx | import React, { useEffect, useState } from 'react';
import Loading from '@/components/loading';
interface MetadataLoaderProps {
metadata: string;
}
// Checks if a string is a valid URL
const isValidUrl = (url: string) => {
const pattern = /^(ftp|http|https|ipfs):\/\/[^ "]+$/;
return pattern.test(url);
};
// Ch... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/wasmContracts/utils.ts | apps/web-persistence/src/screens/wasmContracts/utils.ts | import { WasmCodeType, WasmContractType } from '@/screens/wasmContracts/types';
import { Property } from 'csstype';
export const columnsContract: {
columnKey: keyof WasmContractType;
justifyContent?: Property.JustifyContent;
textAlign?: Property.TextAlign;
width: number | boolean;
widthMobile: number | 'auto... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/wasmContracts/index.tsx | apps/web-persistence/src/screens/wasmContracts/index.tsx | import InfiniteList from '@/components/InfiniteList';
import Layout from '@/components/layout';
import ContractHeaderDesktop from '@/screens/wasmContracts/components/ContractHeaderDesktop';
import ContractRowDesktop from '@/screens/wasmContracts/components/ContractRowDesktop';
import ContractRowMobile from '@/screens/w... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/apps/web-persistence/src/screens/wasmContracts/styles.ts | apps/web-persistence/src/screens/wasmContracts/styles.ts | import { CSSObject } from 'tss-react';
import { makeStyles } from 'tss-react/mui';
export const HEIGHT_MOBILE_CODE = 25;
export const HEIGHT_MOBILE_CONTRACT = 49;
export const HEIGHT_DESKTOP = 7;
const useStyles = makeStyles()((theme) => ({
root: {
...(theme.mixins.layout as CSSObject),
},
header: {
'&&... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.