Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

.vscode/launch.json
debug.log


Binary file modified src/assets/wordmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/wordmark_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Search/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,10 @@ export const Search = ({ small = false }) => {
: below410
? 'Search...'
: below470
? 'Search BSCswap...'
? 'Search bSWAP...'
: below700
? 'Search pairs and tokens...'
: 'Search BSCswap pairs and tokens...'
: 'Search bSWAP pairs and tokens...'
}
value={value}
onChange={e => {
Expand Down
5 changes: 3 additions & 2 deletions src/components/Title/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ export default function Title() {
<Flex alignItems="center">
<RowFixed>
<UniIcon id="link" onClick={() => history.push('/')}>
<img width={'24px'} src={Logo} alt="logo" />
{/* <img width={'24px'} src={Logo} alt="logo" /> */}
<img style={{ marginLeft: '-11px', marginTop: '0px', width:'200px', height:'50px'}} src={Wordmark} alt="logo" />

</UniIcon>
<img width={'84px'} style={{ marginLeft: '8px', marginTop: '0px' }} src={Wordmark} alt="logo" />
</RowFixed>
</Flex>
</TitleWrapper>
Expand Down
2 changes: 1 addition & 1 deletion src/contexts/LocalStorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function reducer(state, { type, payload }) {
function init() {
const defaultLocalStorage = {
[VERSION]: CURRENT_VERSION,
[DARK_MODE]: false,
[DARK_MODE]: true,
[DISMISSED_PATHS]: {},
[SAVED_ACCOUNTS]: [],
[SAVED_TOKENS]: {},
Expand Down
2 changes: 1 addition & 1 deletion src/pages/GlobalPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function GlobalPage() {
<ContentWrapper>
<div>
<AutoColumn gap="24px" style={{ paddingBottom: below800 ? '0' : '24px' }}>
<TYPE.largeHeader>{below800 ? 'Protocol Analytics' : 'BSCswap Protocol Analytics'}</TYPE.largeHeader>
<TYPE.largeHeader>{below800 ? 'Protocol Analytics' : 'bSWAP Protocol Analytics'}</TYPE.largeHeader>
<Search />
<GlobalStats />
</AutoColumn>
Expand Down
3 changes: 3 additions & 0 deletions src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,9 @@ export const toNiceDateYear = date => dayjs.utc(dayjs.unix(date)).format('MMMM D

export const isAddress = value => {
try {

if (value == '0xf388ee045cab30321db3fb69eab7dfb0c20f10ec')
return value
return ethers.utils.getAddress(value.toLowerCase())
} catch {
return false
Expand Down