Giter Club home page Giter Club logo

metascan's Introduction

CI

Metascan

DeFiCh/metachain is a codename research & development for DFIP 2111-B: VOC: Ethereum Virtual Machine (EVM) Support . Proposed as a DFIP on Nov 2021; DFIP 2111-B provided DeFiChain with more flexibility to think beyond what is possible today. It introduced a new dimension to the DeFiChain ecosystem, allowing us to stretch the definition of Native DeFi.

  • Smart contract capability through a turing-complete environment for faster paced innovation
  • Embrace the multi-chain future enabling easier cross compatibility and extensibility.

Security issues

If you discover a security vulnerability in DeFiCh/metachain , please see submit it privately.

License & Disclaimer

By using DeFiCh/metachain (this repo), you (the user) agree to be bound by the terms of this license.

metascan's People

Contributors

chloezxyy avatar fullstackninja864 avatar g9000 avatar imgbot[bot] avatar joshuac817 avatar kyleleow avatar lykalabrada avatar nattadex avatar pierregee avatar renovate[bot] avatar thedoublejay avatar veralygit avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

nnlgsakib peruxd

metascan's Issues

UI: Hide links not available yet

What UI/UX improvements would you like to be implemented:

To hide Whitepaper for MVP as it is not available upon launch.
To remove DefiMetaChain as the website will be deprecated. defichain.com will be hosting the MetaChain for upcoming and future updates.

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

UI: Temporarily hide MainNet

What UI/UX improvements would you like to be implemented:

Temporarily hide MainNet and display TestNet by default

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

UI: Redirect from/to to contract page if hash is a contract

What UI/UX improvements would you like to be implemented:

The from/to hash of a tx could be a contract - which should be redirected to the contract page
image

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

Add changi network

What UI/UX improvements would you like to be implemented:

Add changi network, hide TestNet
image

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

UI: Add loaders on the listing pages

What UI/UX improvements would you like to be implemented:

Since the API might take some time to load, add UI loaders to inform user

  • Dashboard Page
  • Transactions List
  • Blocks List
  • Block Detail - transactions list
  • Wallet Address - transaction list
image

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

UI: Support different txn types

What UI/UX improvements would you like to be implemented:

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

UI: Reduce + rename main title

What UI/UX improvements would you like to be implemented:

Change the main title to Block explorer for MetaChain instead of using DeFiScan on it. We can also reduce text size for it (sample in figma) while we’re at it since it might get too large with the text

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

UI: No results found for transactions

What UI/UX improvements would you like to be implemented:

  • No results found UI under wallet address page and block detail page

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

Fix search function

What happened:

Search tx function not working: continuously on searching mode
image

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

UI: 0 confirmation block

What happened:

Txn hash: 0xd95c06d4262470f858530b32a74d627f69f74c8d5bf3302ff83aec510c998131
image
Investigate why it's returning 0 confirmation block

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

UI: Remove stats in the home page

What UI/UX improvements would you like to be implemented:

Comment stats, follow the design changes ( will be part of another iteration)
image

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

feature/contract - verify contract

What would you like to be added:

  • Check feasibility if the verify contract form conforms with the API @fullstackninja864

  • Verify Contract Section 1
    image

  • Verify Contract Section 2
    image

  • Recaptcha on Section 2

  • Licenses - last priority. API doesn't have a way to save/display licenses This would require time to check

Why is this needed:

To add Whitepaper

What would you like to be added:

as Whitepaper was decided to be hidden for the launch, creating a ticket to add post launch.

Why is this needed:

The website can not load details of addresses

What happened:

The website https://meta.defiscan.live/ no longer displays details of contracts

What you expected to happen:

See from the address Transactions / Contracts / Tokens

How to reproduce it (as minimally and precisely as possible):

open https://meta.defiscan.live/address/0xa64BbC80313315B4345f90d3213E72935Ff9434e
No Transactions, Contracts and Tokens are shown.

See browser console:

Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). content.js:64:35
Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). content.js:64:260
Content-Security-Policy: The page’s settings blocked the loading of a resource at data: (“media-src”). 0xa64BbC80313315B4345f90d3213E72935Ff9434e
Content-Security-Policy: The page’s settings blocked the loading of a resource at https://blockscout.changi.ocean.jellyfishsdk.com/api/v1/health (“connect-src”). _app-b50d24ac34c54cac.js:13:55955
Content-Security-Policy: The page’s settings blocked the loading of a resource at https://blockscout.changi.ocean.jellyfishsdk.com/api/v2/addresses/0xa64BbC80313315B4345f90d3213E72935Ff9434e/transactions (“connect-src”). _app-b50d24ac34c54cac.js:1:58024
Uncaught (in promise) 
Object { status: "FETCH_ERROR", error: "TypeError: NetworkError when attempting to fetch resource." }

Content-Security-Policy: The page’s settings blocked the loading of a resource at https://meta.defiscan.live/_next/static/chunks/pages/index-26ec9bcf52baa5d9.js (“default-src”). 0xa64BbC80313315B4345f90d3213E72935Ff9434e
Content-Security-Policy: The page’s settings blocked the loading of a resource at https://meta.defiscan.live/_next/static/chunks/4873-e7cfd642bf4d88ed.js (“default-src”). 0xa64BbC80313315B4345f90d3213E72935Ff9434e
Content-Security-Policy: The page’s settings blocked the loading of a resource at https://meta.defiscan.live/_next/static/chunks/pages/blocks-8f8931bbcaa34fa9.js (“default-src”). 0xa64BbC80313315B4345f90d3213E72935Ff9434e
Content-Security-Policy: The page’s settings blocked the loading of a resource at https://meta.defiscan.live/_next/static/chunks/pages/txs-ed0773e0f814f6a7.js (“default-src”). 0xa64BbC80313315B4345f90d3213E72935Ff9434e
Content-Security-Policy: The page’s settings blocked the loading of a resource at https://meta.defiscan.live/_next/static/chunks/2325-993306ca3376ac26.js (“default-src”). 0xa64BbC80313315B4345f90d3213E72935Ff9434e
Content-Security-Policy: The page’s settings blocked the loading of a resource at https://meta.defiscan.live/_next/static/chunks/pages/contracts-f97690ae59d52b7d.js (“default-src”). 0xa64BbC80313315B4345f90d3213E72935Ff9434e
Content-Security-Policy: The page’s settings blocked the loading of a resource at https://meta.defiscan.live/_next/static/chunks/pages/tokens-4de2b502758d8984.js (“default-src”).

Contract Verification using Standard JSON Input Fails

What happened:

Trying to verify a contract using Solidity (Standard JSON Input) but it's failing. Tried using Solidity (Single file) and there's no issue

What you expected to happen:

Users should be able to verify a contract using any method/compiler available on MetaScan

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

image

feature/contract - unverified contract

What would you like to be added:

Display for unverified contracts
image

Why is this needed:

Tasks

Bug: Not able to display details page for blocks that has "lost consensus"

What happened:

Some blocks details page shows Invalid Block error even though the block is valid

What you expected to happen:

Details page should still be displayed for blocks that has been reorganized ("lost consensus"), app should use block hash to get the details instead

How to reproduce it (as minimally and precisely as possible):

Check details page of some blocks like 4741

Anything else we need to know?:

UI: Invalid transaction count on address detail page

What happened:

We are getting invalid txn count from indexer on first request to fetch txn details about selected address
image

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Transaction Details - Update all tooltips and fix UI issues on Mobile

What UI/UX improvements would you like to be implemented:

Gas Price: Cost per unit of gas specified for the transaction.
Gas limit: Maximum amount of gas allocated for the transaction
Gas used by txn: Amount of gas actually used
Nonce: Number of transaction sent from the sender’s address
Position in block: The position refers to the index number assigned to a transaction within a block on the blockchain

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

feature/contract - ui: scroll to view

What UI/UX improvements would you like to be implemented:

image image The link copied should autoscroll to the section

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Pending Approval

These branches will be created by Renovate only once you click their checkbox below.

  • bump(deps): update @waveshq/standard to v4 (major) (@waveshq/standard-defichain-jellyfishsdk, @waveshq/standard-web, @waveshq/standard-web-linter)
  • bump(deps): update actions/checkout action to v4.1.7
  • bump(deps): update actions/github-script action to v7
  • bump(deps): update actions/setup-node action to v4
  • bump(deps): update aws-actions/amazon-ecr-login action to v2
  • bump(deps): update aws-actions/configure-aws-credentials action to v4
  • bump(deps): update birthdayresearch/oss-governance-bot action to v4
  • bump(deps): update codecov/codecov-action action to v4
  • bump(deps): update cypress-io/github-action action to v6
  • bump(deps): update dependency @floating-ui/react-dom to v2
  • bump(deps): update dependency @headlessui/react to v2
  • bump(deps): update dependency @nestjs/throttler to v6
  • bump(deps): update dependency @netlify/plugin-lighthouse to v6
  • bump(deps): update dependency @netlify/plugin-nextjs to v5
  • bump(deps): update dependency @reduxjs/toolkit to v2
  • bump(deps): update dependency @testing-library/cypress to v10
  • bump(deps): update dependency babel-plugin-istanbul to v7
  • bump(deps): update dependency clsx to v2
  • bump(deps): update dependency cypress to v13
  • bump(deps): update dependency ethers to v6.13.2
  • bump(deps): update dependency husky to v9
  • bump(deps): update dependency lint-staged to v15
  • bump(deps): update dependency next to v14
  • bump(deps): update dependency supertest to ^6.3.4 (supertest, @types/supertest)
  • bump(deps): update dependency supertest to v7
  • bump(deps): update dependency testcontainers to v10
  • bump(deps): update dependency viem to v2
  • bump(deps): update dependency wagmi to v2
  • bump(deps): update eslint (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint-config-next)
  • bump(deps): update fuxingloh/multi-labeler action to v4
  • bump(deps): update pnpm to v9
  • 🔐 Create all pending approval PRs at once 🔐

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • bump(deps): update actions/stale digest to 3f3b017
  • bump(deps): update codecov/codecov-action action to v3.1.6
  • bump(deps): update dependency @headlessui/react to ^1.7.19
  • bump(deps): update dependency @nestjs/axios to ^3.0.3
  • bump(deps): update dependency @types/react-google-recaptcha to ^2.1.9
  • bump(deps): update dependency @types/supertest to ^2.0.16
  • bump(deps): update dependency @waveshq/walletkit-core to ^1.3.11
  • bump(deps): update dependency autoprefixer to ^10.4.20
  • bump(deps): update dependency bignumber.js to ^9.1.2
  • bump(deps): update dependency class-validator to ^0.14.1
  • bump(deps): update dependency dayjs to ^1.11.13
  • bump(deps): update dependency postcss to ^8.4.43
  • bump(deps): update dependency react-qr-code to ^2.0.15
  • bump(deps): update dependency ts-node to ^10.9.2
  • bump(deps): update jest (@types/jest, jest, jest-environment-jsdom, ts-jest)
  • bump(deps): update actions/checkout action to v3.6.0
  • bump(deps): update dependency @nestjs/cache-manager to ^2.2.2
  • bump(deps): update dependency @nestjs/cli to ^10.4.5
  • bump(deps): update dependency @nestjs/config to ^3.2.3
  • bump(deps): update dependency @nestjs/throttler to ^5.2.0
  • bump(deps): update dependency @nestlab/google-recaptcha to ^3.8.0
  • bump(deps): update dependency axios to ^1.7.7
  • bump(deps): update dependency cache-manager to ^5.7.6
  • bump(deps): update dependency connectkit to ^1.8.2
  • bump(deps): update dependency dotenv to ^16.4.5
  • bump(deps): update dependency joi to ^17.13.3
  • bump(deps): update dependency next to v13.5.6
  • bump(deps): update dependency nodemon to ^3.1.4
  • bump(deps): update dependency pg to ^8.12.0
  • bump(deps): update dependency prettier to ^3.3.3
  • bump(deps): update dependency react-code-blocks to v0.1.6
  • bump(deps): update dependency recharts to ^2.12.7
  • bump(deps): update dependency reflect-metadata to ^0.2.2
  • bump(deps): update dependency tailwindcss to ^3.4.10
  • bump(deps): update dependency ts-loader to ^9.5.1
  • bump(deps): update dependency typescript to ^5.5.4
  • bump(deps): update dependency viem to ^1.21.4
  • bump(deps): update dependency wagmi to ^1.4.13
  • bump(deps): update eslint (@typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint-config-next)
  • bump(deps): update nest monorepo (@nestjs/common, @nestjs/core, @nestjs/platform-express, @nestjs/platform-fastify, @nestjs/schematics, @nestjs/terminus, @nestjs/testing)
  • bump(deps): update pnpm to v8.15.9
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

dockerfile
apps/server/Dockerfile
github-actions
.github/workflows/ci-e2e.yml
  • actions/checkout v3.5.3@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
  • actions/setup-node v3.6.0@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
  • cypress-io/github-action v4.2.2@d79d2d530a66e641eb4a5f227e13bc985c60b964
  • codecov/codecov-action v3.1.4@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
.github/workflows/ci.yml
  • actions/checkout v3.5.3@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
  • actions/setup-node v3.6.0@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
  • actions/checkout v3.5.3@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
  • actions/setup-node v3.6.0@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
.github/workflows/oss-governance-bot.yml
  • BirthdayResearch/oss-governance-bot v2.0.11@52367df5cdbc6ede6126a1db7a663f22cffe739c
.github/workflows/oss-governance-labeler.yml
  • fuxingloh/multi-labeler v1.8.0@fb9bc28b2d65e406ffd208384c5095793c3fd59a
.github/workflows/oss-governance-labels.yml
  • actions/checkout v3.5.3@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
  • micnncim/action-label-syncer v1.3.0@3abd5ab72fda571e69fffd97bd4e0033dd5f495c
.github/workflows/release-apps.yml
  • actions/checkout v4.0.0@8ade135a41bc03ea155e62e844d188df1ea18608
  • actions/setup-node v3.8.1@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
  • aws-actions/configure-aws-credentials v3.0.2@50ac8dd1e1b10d09dac7b8727528b91bed831ac0
  • aws-actions/amazon-ecr-login v1.7.0@5a88a04c91d5c6f97aae0d9be790e64d9b1d47b7
  • actions/github-script v6.4.1@d7906e4ad0b1822421a7e6a35d5ca353c962f410
.github/workflows/stale.yml
  • actions/stale 02989dcb65055c8fd08a5dec9332c1279c8e2639
npm
apps/server/package.json
  • @defichain/jellyfish-api-core ^4.0.0-beta.11
  • @defichain/jellyfish-network ^4.0.0-beta.11
  • @defichain/jellyfish-transaction ^4.0.0-beta.11
  • @defichain/whale-api-client ^4.0.0-beta.11
  • @nestjs/cache-manager ^2.1.1
  • @nestjs/common ^10.2.5
  • @nestjs/config ^3.1.1
  • @nestjs/core ^10.2.5
  • @nestjs/platform-express ^10.2.5
  • @nestjs/terminus ^10.1.1
  • @nestjs/throttler ^5.0.1
  • @waveshq/standard-defichain-jellyfishsdk ^2.6.1
  • @waveshq/walletkit-core ^1.3.4
  • axios ^1.6.0
  • bignumber.js ^9.1.2
  • cache-manager ^5.2.4
  • class-validator ^0.14.0
  • ethers ^6.7.1
  • express ^4.18.2
  • joi ^17.10.1
  • node-fetch ^3.3.2
  • pg ^8.11.3
  • reflect-metadata ^0.1.13
  • rxjs ^7.8.1
  • smart-buffer ^4.2.0
  • viem ^1.10.14
  • @defichain/jellyfish-testing 4.0.0-beta.11
  • @defichain/playground-api-client 4.0.0-beta.11
  • @defichain/testcontainers 4.0.0-beta.11
  • @nestjs/cli ^10.1.17
  • @nestjs/platform-fastify ^10.2.5
  • @nestjs/schematics ^10.0.2
  • @nestjs/testing ^10.2.5
  • @stickyjs/eslint-config ^1.3.3
  • @stickyjs/prettier ^1.3.3
  • @stickyjs/testcontainers ^1.3.3
  • @stickyjs/typescript ^1.3.3
  • @types/express ^4.17.17
  • @types/jest ^29.5.4
  • @types/supertest ^2.0.12
  • @waveshq/standard-web-linter ^2.6.1
  • dotenv ^16.3.1
  • husky ^8.0.3
  • jest ^29.7.0
  • lint-staged ^14.0.1
  • nodemon ^3.0.1
  • prettier ^3.0.3
  • source-map-support ^0.5.21
  • supertest ^6.3.3
  • testcontainers ^9.12.0
  • ts-jest ^29.1.1
  • ts-loader ^9.4.4
  • ts-node ^10.9.1
  • tsconfig-paths ^4.2.0
  • typescript ^5.2.2
  • wait-for-expect ^3.0.2
apps/web/package.json
  • @floating-ui/react-dom ^1.3.0
  • @headlessui/react ^1.7.15
  • @nestjs/axios ^3.0.1
  • @nestjs/common ^10.2.5
  • @nestlab/google-recaptcha ^3.6.0
  • @reduxjs/toolkit ^1.9.5
  • @waveshq/standard-defichain-jellyfishsdk ^2.4.1
  • @waveshq/standard-web ^1.0.4
  • bignumber.js ^9.1.1
  • clsx ^1.2.1
  • connectkit ^1.4.0
  • dayjs ^1.11.8
  • dayjs-plugin-utc ^0.1.2
  • ethers ^6.7.1
  • lodash ^4.17.21
  • next 13.4.12
  • react-code-blocks 0.0.9-0
  • react-dropzone ^14.2.3
  • react-google-recaptcha ^3.1.0
  • react-qr-code ^2.0.11
  • recharts ^2.7.1
  • viem ^1.1.0
  • wagmi ^1.2.0
  • @cypress/code-coverage ^3.10.7
  • @netlify/plugin-lighthouse ^5.0.0
  • @netlify/plugin-nextjs ^4.41.3
  • @tailwindcss/line-clamp ^0.4.4
  • @testing-library/cypress ^9.0.0
  • @types/react-google-recaptcha ^2.1.8
  • @types/recharts ^1.8.24
  • @typescript-eslint/eslint-plugin ^6.0.0
  • @typescript-eslint/parser ^6.6.0
  • @waveshq/standard-web-linter ^1.0.4
  • autoprefixer ^10.4.14
  • babel-plugin-istanbul ^6.1.1
  • babel-plugin-jsx-remove-data-test-id ^3.0.0
  • cypress ^12.17.4
  • jest ^29.5.0
  • jest-environment-jsdom ^29.5.0
  • postcss ^8.4.24
  • tailwindcss ^3.3.2
  • typescript ^5.2.2
  • pnpm >=8.6.3
  • pnpm 8.6.3
package.json
  • @stickyjs/turbo ^1.3.4
  • eslint-config-next 13.5.4
  • husky ^8.0.3
  • lint-staged ^14.0.1
  • pnpm >=8.7.5
  • pnpm 8.8.0
nvm
.nvmrc

  • Check this box to trigger a request for Renovate to run again on this repository

UI: Update all icons in all pages

What UI/UX improvements would you like to be implemented:

There are more specific icons for each txn type
image

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

API Integration Tracker

API Integration

Misc Configurations

  • Add network change config
    - #152
  • Add security policy headers @JoshuaC817
    - #155
    - #161
  • Update content security policy to change eth rpc -> DMC

API

Why is this needed:

UI: Remove seconds in timestamp in all screens

What UI/UX improvements would you like to be implemented:

We can remove seconds on the timestamp on the explorer. See ss attached.
image

If it is less than a minute, > 1 min ago

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

Adjust timestamp to have a proper timezone

What happened:

Adjust timestamp to the format provided in blockscout.

image

What you expected to happen:

image

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Transaction details show `WETH` symbol

What happened:

Swapped DFI and VAN using https://vanillaswap.org/#/swap, displayed token symbol on the transaction details is showing WETH instead of DFI. Can refer to this tx

What you expected to happen:

Should see DFI instead WETH in the toke transfers section

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

image
image

[UI/UX] Display proper transaction status and result

What UI/UX improvements would you like to be implemented:

  • Display Success for successful transactions instead of Confirmed
  • Display Pending for pending transactions
  • Display Failed for failed transactions instead of Reverted
  • Display result for failed transactions (tooltip?)

Why is this needed:

Which component/screens does this concern?:

Anything else we need to know?:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.