-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into releases/mainnet/v1.1.0
- Loading branch information
Showing
12 changed files
with
104 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
name: Token Dashboard / CI | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
push: | ||
branches: | ||
- main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import { FC } from "react" | ||
import { Box, HStack, ListItem, ListItemProps } from "@chakra-ui/react" | ||
import { ExternalLinkIcon } from "@chakra-ui/icons" | ||
import { Body1, Body3 } from "../Typography" | ||
import ExternalLink from "../ExternalLink" | ||
import { ExternalHref } from "../../enums" | ||
|
||
interface LinkDetailsListItemProps extends ListItemProps { | ||
title: string | ||
subTitle?: string | ||
href: ExternalHref | ||
cta?: string | ||
} | ||
|
||
const LinkDetailsListItem: FC<LinkDetailsListItemProps> = ({ | ||
title, | ||
subTitle, | ||
href, | ||
cta = "Learn more", | ||
...props | ||
}) => ( | ||
<ListItem spacing="4" bg="gray.50" p="4" borderRadius="2" {...props}> | ||
<HStack> | ||
<Box bg="brand.500" borderRadius="8px" w="48px" height="48px" /> | ||
<Box> | ||
<Body1>{title}</Body1> | ||
<Body3>{subTitle}</Body3> | ||
</Box> | ||
<ExternalLink | ||
fontSize="14px" | ||
lineHeight="20px" | ||
fontWeight="600" | ||
color="gray.700" | ||
ml="auto !important" | ||
text={cta} | ||
href={href} | ||
icon={<ExternalLinkIcon ml="2" w="14px" h="14px" />} | ||
/> | ||
</HStack> | ||
</ListItem> | ||
) | ||
|
||
export default LinkDetailsListItem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * as vendingMachine from "./vendingMachine" | ||
export * as stakingBonus from "./stakingBonus" | ||
export * as web3 from "./web3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const STANDARD_ERC20_DECIMALS = 18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters