Skip to content

Commit

Permalink
updating evmexplorer blockscout library
Browse files Browse the repository at this point in the history
  • Loading branch information
Pfed-prog committed Jan 10, 2025
1 parent 141c765 commit bff5cda
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 25 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,19 @@ This can only work for verified contracts. `Smart-contracts` endpoint in blocksc

[Blockscout being open-source and having a token balances sdk](https://stackoverflow.com/a/79314977/13943679)

### BlockScout
[BlockScout Chains](https://www.blockscout.com/chains-and-projects)

### BlockScout Bugs and Feature Requests

- [BlockScout Tx API Feedback request](https://blockscout.canny.io/feedback/p/what-is-the-meaning-behind-tx-api-outputs)

- [BlockScout Contract Counters Bugs](https://blockscout.canny.io/feedback/p/contract-counters-bugs)

- [Add Explicit Pagination in get requests](https://blockscout.canny.io/feature-requests/p/add-explicit-pagination-in-get-requests)

- [BlockScout Chains](https://www.blockscout.com/chains-and-projects)
#### Rest API Bugs

[Duplciate transactions](https://blockscout.canny.io/feedback/p/duplicate-variables-when-fetching-transactions) and linked [rest api issue in docs](https://github.com/blockscout/docs/issues/366)

### Etherscan

Expand Down
2 changes: 1 addition & 1 deletion with-tailwindcss-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"prettier:write": "prettier --write \"**/*.{ts,tsx}\""
},
"dependencies": {
"@evmexplorer/blockscout": "0.0.15",
"@evmexplorer/blockscout": "0.0.16",
"@evmexplorer/uniswap": "0.0.6",
"@evmexplorer/utility": "0.0.5",
"@headlessui/react": "^2.2.0",
Expand Down
8 changes: 5 additions & 3 deletions with-tailwindcss-app/pages/transactions/[network]/[hash].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,11 @@ export const TransactionPage: NextPage = () => {
{parseNumber(hashData.blockNumber)}
</Link>
</p>
<p className="timestamp-subheading font-sans text-base md:text-lg tracking-tighter mt-1 md:mt-1">
{new Date(transactionData.timestamp).toLocaleString()}
</p>
{transactionData.timestamp && (
<p className="timestamp-subheading font-sans text-base md:text-lg tracking-tighter mt-1 md:mt-1">
{new Date(transactionData.timestamp).toLocaleString()}
</p>
)}
</div>

<div className="px-8 font-mono">
Expand Down
30 changes: 15 additions & 15 deletions with-tailwindcss-app/public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://evmexplorer.com</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explorer</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Aave</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Aerodrome Finance</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Compound</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/ENS Domains</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/ERC20</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Uniswap</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Overnight Finance</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/PancakeSwap</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/ERC721</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/ERC1155</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/OP Governance</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Velodrome Finance</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Token Sets</loc><lastmod>2025-01-06T03:50:22.461Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com</loc><lastmod>2025-01-10T17:50:36.739Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explorer</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Aave</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Aerodrome Finance</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Compound</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/ENS Domains</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/ERC20</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Uniswap</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Overnight Finance</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/PancakeSwap</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/ERC721</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/ERC1155</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/OP Governance</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Velodrome Finance</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://evmexplorer.com/explore/Token Sets</loc><lastmod>2025-01-10T17:50:36.740Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>
8 changes: 4 additions & 4 deletions with-tailwindcss-app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,10 @@
"@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.7.0"

"@evmexplorer/blockscout@0.0.15":
version "0.0.15"
resolved "https://registry.yarnpkg.com/@evmexplorer/blockscout/-/blockscout-0.0.15.tgz#4e98ce2d187854804d71cc8391bcb8a6ece3beb5"
integrity sha512-hjrynEz+Czkd3Ao6r5ibKj04Dv8vTmXYmyim5B/3F7hbonavXZp/igyIG2QmH7bMn9Gt7Uog/5T9/P3TbxdHjQ==
"@evmexplorer/blockscout@0.0.16":
version "0.0.16"
resolved "https://registry.yarnpkg.com/@evmexplorer/blockscout/-/blockscout-0.0.16.tgz#fbb8580352b2652494def2df38241befa6178650"
integrity sha512-xZsyMfiwMn0WSKw3UzA65nBo03hmCFx2RkbhqKqL1p0Qu9IflaZWcYbX8TRE8RBW2AqNhA79LLPr5ao7fEx9nQ==

"@evmexplorer/blockscout@^0.0.12":
version "0.0.12"
Expand Down

0 comments on commit bff5cda

Please sign in to comment.