From a6905e4d8a84f17244211a816259b3fa7c74098e Mon Sep 17 00:00:00 2001 From: Nicholas Pettas Date: Fri, 25 Oct 2024 14:04:12 -0700 Subject: [PATCH] Upstream merge (#3) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: fix comment (#346) Signed-off-by: finaltrip * chore: bump tough-cookie from 4.1.2 to 4.1.4 (#356) Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.4.
Release notes

Sourced from tough-cookie's releases.

v4.1.4

https://www.npmjs.com/package/tough-cookie/v/4.1.4

What's Changed

New Contributors

Full Changelog: https://github.com/salesforce/tough-cookie/compare/v4.1.3...v4.1.4

4.1.3

Security fix for Prototype Pollution discovery in #282. This is a minor release, although output from the inspect utility is affected by this change, we felt this change was important enough to be pushed into the next patch.

Commits
  • cacbc37 Bump version to 4.1.4
  • a48fb3a Add tests for url validation
  • 50e69bf Merge pull request #261 from postmanlabs/fix/url-string-validation
  • 1253d58 Merge pull request #409 from corvidism/validators-to-string
  • 238367e Add local alias for toString
  • 4ff4d29 4.1.3 release preparation, update the package and lib/version to 4.1.3. (#284)
  • 12d4747 Prevent prototype pollution in cookie memstore (#283)
  • f06b72d Fix documentation for store.findCookies, missing allowSpecialUseDomain proper...
  • cf6debd Fix incorrect string validation for URL
  • See full diff in compare view
Maintainer changes

This version was pushed to npm by ccasey, a new releaser for tough-cookie since your current version.


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tough-cookie&package-manager=npm_and_yarn&previous-version=4.1.2&new-version=4.1.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/solana-labs/explorer/network/alerts).
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: bump axios from 0.27.2 to 0.28.0 (#331) Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 0.28.0.
Release notes

Sourced from axios's releases.

Release v0.28.0

Release notes:

Bug Fixes

  • fix(security): fixed CVE-2023-45857 by backporting withXSRFToken option to v0.x (#6091)

Backports from v1.x:

  • Allow null indexes on formSerializer and paramsSerializer v0.x (#4961)
  • Fixing content-type header repeated #4745
  • Fixed timeout error message for HTTP 4738
  • Added axios.formToJSON method (#4735)
  • URL params serializer (#4734)
  • Fixed toFormData Blob issue on node>v17 #4728
  • Adding types for progress event callbacks #4675
  • Fixed max body length defaults #4731
  • Added data URL support for node.js (#4725)
  • Added isCancel type assert (#4293)
  • Added the ability for the url-encoded-form serializer to respect the formSerializer config (#4721)
  • Add string[] to AxiosRequestHeaders type (#4322)
  • Allow type definition for axios instance methods (#4224)
  • Fixed AxiosError stack capturing; (#4718)
  • Fixed AxiosError status code type; (#4717)
  • Adding Canceler parameters config and request (#4711)
  • fix(types): allow to specify partial default headers for instance creation (#4185)
  • Added blob to the list of protocols supported by the browser (#4678)
  • Fixing Z_BUF_ERROR when no content (#4701)
  • Fixed race condition on immediate requests cancellation (#4261)
  • Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an Axios instance axios/axios#4248
  • Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill (#4229)
  • Fix TS definition for AxiosRequestTransformer (#4201)
  • Use type alias instead of interface for AxiosPromise (#4505)
  • Include request and config when creating a CanceledError instance (#4659)
  • Added generic TS types for the exposed toFormData helper (#4668)
  • Optimized the code that checks cancellation (#4587)
  • Replaced webpack with rollup (#4596)
  • Added stack trace to AxiosError (#4624)
  • Updated AxiosError.config to be optional in the type definition (#4665)
  • Removed incorrect argument for NetworkError constructor (#4656)
Changelog

Sourced from axios's changelog.

0.28.0 (2024-02-12)

Release notes:

Bug Fixes

  • fix(security): fixed CVE-2023-45857 by backporting withXSRFToken option to v0.x (#6091)

Backports from v1.x:

  • Allow null indexes on formSerializer and paramsSerializer v0.x (#4961)
  • Fixing content-type header repeated #4745
  • Fixed timeout error message for HTTP 4738
  • Added axios.formToJSON method (#4735)
  • URL params serializer (#4734)
  • Fixed toFormData Blob issue on node>v17 #4728
  • Adding types for progress event callbacks #4675
  • Fixed max body length defaults #4731
  • Added data URL support for node.js (#4725)
  • Added isCancel type assert (#4293)
  • Added the ability for the url-encoded-form serializer to respect the formSerializer config (#4721)
  • Add string[] to AxiosRequestHeaders type (#4322)
  • Allow type definition for axios instance methods (#4224)
  • Fixed AxiosError stack capturing; (#4718)
  • Fixed AxiosError status code type; (#4717)
  • Adding Canceler parameters config and request (#4711)
  • fix(types): allow to specify partial default headers for instance creation (#4185)
  • Added blob to the list of protocols supported by the browser (#4678)
  • Fixing Z_BUF_ERROR when no content (#4701)
  • Fixed race condition on immediate requests cancellation (#4261)
  • Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an Axios instance axios/axios#4248
  • Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill (#4229)
  • Fix TS definition for AxiosRequestTransformer (#4201)
  • Use type alias instead of interface for AxiosPromise (#4505)
  • Include request and config when creating a CanceledError instance (#4659)
  • Added generic TS types for the exposed toFormData helper (#4668)
  • Optimized the code that checks cancellation (#4587)
  • Replaced webpack with rollup (#4596)
  • Added stack trace to AxiosError (#4624)
  • Updated AxiosError.config to be optional in the type definition (#4665)
  • Removed incorrect argument for NetworkError constructor (#4656)
Commits
  • 3b7635a [Release] v0.28.0 (#6211)
  • 27c0076 feat(backport): added ability for paramsSerializer to handle function; (#6227)
  • 80c3d74 chore(ci): backported publish action; (#6224)
  • 2755df5 fix(security): fixed CVE-2023-45857 by backporting withXSRFToken option to ...
  • 880b42e docs: Fix a typo in README
  • c4bf0a4 Allow null indexes on formSerializer and paramsSerializer v0.x (#4961)
  • 1e2679f fix: [Types] Type of header in AxiosRequestConfig / for Axios.create is incor...
  • 80b546c fix: loosing request header (#4858) (#4871)
  • 6acb5ef feat: brower platform add data protocol. (#4814)
  • bbb2264 fix(typing): axios response headers can be undefined (#4813)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=0.27.2&new-version=0.28.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/solana-labs/explorer/network/alerts).
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: bump semver from 6.3.0 to 6.3.1 (#294) Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
Release notes

Sourced from semver's releases.

v6.3.1

6.3.1 (2023-07-10)

Bug Fixes

Changelog

Sourced from semver's changelog.

6.3.1 (2023-07-10)

Bug Fixes

6.2.0

  • Coerce numbers to strings when passed to semver.coerce()
  • Add rtl option to coerce from right to left

6.1.3

  • Handle X-ranges properly in includePrerelease mode

6.1.2

  • Do not throw when testing invalid version strings

6.1.1

  • Add options support for semver.coerce()
  • Handle undefined version passed to Range.test

6.1.0

  • Add semver.compareBuild function
  • Support * in semver.intersects

6.0

  • Fix intersects logic.

    This is technically a bug fix, but since it is also a change to behavior that may require users updating their code, it is marked as a major version increment.

5.7

  • Add minVersion method

5.6

  • Move boolean loose param to an options object, with backwards-compatibility protection.
  • Add ability to opt out of special prerelease version handling with the includePrerelease option flag.

5.5

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by lukekarrys, a new releaser for semver since your current version.


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=semver&package-manager=npm_and_yarn&previous-version=6.3.0&new-version=6.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/solana-labs/explorer/network/alerts).
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: bump follow-redirects from 1.15.5 to 1.15.6 (#334) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=follow-redirects&package-manager=npm_and_yarn&previous-version=1.15.5&new-version=1.15.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/solana-labs/explorer/network/alerts).
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix account history (#353) This small change will allow transaction history to be displayed on both the current version and on agave * chore: repair lockfile * chore: bump braces from 3.0.2 to 3.0.3 (#350) Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=braces&package-manager=npm_and_yarn&previous-version=3.0.2&new-version=3.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/solana-labs/explorer/network/alerts).
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: bump next from 13.4.0 to 14.2.5 (#337) Bumps [next](https://github.com/vercel/next.js) from 13.4.0 to 14.2.5
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=next&package-manager=npm_and_yarn&previous-version=13.4.0&new-version=14.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/solana-labs/explorer/network/alerts).
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Co-authored-by: steveluscher * Upgrade `@solana/web3.js` to 2.0.0-rc.0 (#357) https://x.com/anza_xyz/status/1819093864394764674 * Add anchor details to instruction card on tx inspector (#341) When possible, use the anchor description card instead of the default instruction card on the tx simulation page. Before: Screen Shot 2024-05-19 at 1 01 28 PM After: Screen Shot 2024-05-19 at 1 01 47 PM * Fix anchor program usage in Inspector (#358) * Fix writable badge color for ix cards (#359) Use `bg-danger-soft` everywhere for Writable badges * Add Finternet program on devnet (#363) This pr adds label support to two devnet programs for finternet Finternet Token manager - `A5JxZVHgXe7fn5TqJXm6Hj2zKh1ptDapae2YjtXbZJoy` Finternet User manager - `CmFuqQTLs2nQof5uaktJn1a6k2VdbGmZPfrJufB2Vm3F` --------- Co-authored-by: ngundotra * Add support for showing self-cpi (#364) Fixes issue where events were not parsed for self-cpi's executed via `emit_cpi!` in Anchor. See example: https://explorer.solana.com/tx/2iofwLXfEDjEqvGZNMuCzZF8TEGyvfogCVf4oDnAATLpGkUbSfPe7ZBuqNoNXzaV2Xb33AT7PRYd9HztdbTvF3GR?cluster=devnet * added finternet program ids mainnet (#365) * fix: add logo support for PYUSD & USDP (#347) Based on https://github.com/solana-labs/explorer/pull/343, this PR adds support for the PYUSD & USDP tokens. image image --------- Co-authored-by: ngundotra * Fix T22 Metadata Loadinng (#366) Closes #328 * Add fix for viewing stake accounts due to rpc method changes (#367) Fix copied from https://github.com/solana-developers/solana-rpc-get-stake-activation/blob/main/web3js-1.0/src/rpc.ts Closes #362 cc @jacobcreech @steveluscher * ANS Support (#368) Couldn't force push to upstream branch for #236 , so I rebased on master & created this new PR. cc @crypt0miester @alinalexa --------- Co-authored-by: Cryptomiester <77497858+crypt0miester@users.noreply.github.com> Co-authored-by: Alin Alexa * Add ORE program (#360) Adds ORE program mainnet id --------- Co-authored-by: Noah Gundotra * Add verified builds support (#371) This PR adds a row to account headers for Program Accounts like so: ![Screenshot 2024-09-03 at 5 48 45 PM](https://github.com/user-attachments/assets/d135adef-c055-4e0b-9e9e-614de6a5b4b4) --------- Co-authored-by: Noah Gundotra * Add support for anchor 0.30.1 (#374) - ports `anchor idl convert` to TS - uses new anchor 0.30.1 idl type everywhere - removes old anchor package Still doesn't work for State Compression transactions: - http://localhost:3000/tx/TYgsD3iqLCK2KMeSPp7cyAboGhDZqgSCQUGwAdDWXKe1QeLWmBS7wpLBsp1Ma9z6rTYHRqvAwbnZA8qtAnwHCyD Works for new Anchor IDLs: - http://localhost:3000/tx/52kfChUoUQLR5XkCm2Bx9c6oayeRZm9tno62ugHkPcBieojoGWZwEa1NpXaQFga83HtxTWu5ARqi544D65HTm4tB Works for some old Anchor IDLs: - http://localhost:3000/tx/2iofwLXfEDjEqvGZNMuCzZF8TEGyvfogCVf4oDnAATLpGkUbSfPe7ZBuqNoNXzaV2Xb33AT7PRYd9HztdbTvF3GR?cluster=devnet --------- Co-authored-by: Noah Gundotra * Prune unused anchor types so layouts can be constructed from legacy IDLs with bad types (#376) Kamino YVaults program was not loading on the explorer with #374 due to bad type "ScopeConversionChain" having undefined type "ScopePriceId" which was not included in the IDL. This PR fixes YVaults IDL loading by pruning unused anchor types. Example tx: - https://explorer.solana.com/tx/3KgAexzvZ8Kdmj1TCkdZ4RCrV5q9ihyZ1xUnXcSCwybybgCupQ8Mf21tZqQWx2eJh45ATZhMWg2FbbzxhYW6UoU6 Example account - https://explorer.solana.com/address/H8h7ZyS5qJR2cwLxvZQdPaNzLik17cRxB5pDvjdXeuBg/anchor-account * Create .env.example * Update README.md * Add squads program auth integration (#379) * IDL Fixes (#384) * fix long byte array display for anchor ix arguments * add option to download idl * add badge to show IDL version * add toggle for viewing expanded IDL (no more clicking manually to expand) * Add token state back to token account sections (#387) * Added ZK Compression program names (#389) Co-authored-by: Noah Gundotra Co-authored-by: Noah Gundotra * Stop parsing idls from program binaries when loading anchor programs (#390) This has been causing rate limiting issues when loading transactions that have a lot of program interactions because each instruction required fetching the entire program binary. Also need a key flagship program to use this feature on mainnet to be useful. * up-date lock file --------- Signed-off-by: finaltrip Signed-off-by: dependabot[bot] Co-authored-by: finaltrip Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Artsiom Holikau <30728017+Krishnacore@users.noreply.github.com> Co-authored-by: steveluscher Co-authored-by: Steven Luscher Co-authored-by: Britt Cyr Co-authored-by: Noah Gundotra Co-authored-by: dhruvsol <89624156+dhruvsol@users.noreply.github.com> Co-authored-by: ngundotra Co-authored-by: Catalin Rosu Co-authored-by: Cryptomiester <77497858+crypt0miester@users.noreply.github.com> Co-authored-by: Alin Alexa Co-authored-by: Hardhat Chad <155858888+HardhatChad@users.noreply.github.com> Co-authored-by: Noah Gundotra Co-authored-by: Noah Gundotra Co-authored-by: Koen Rijpstra --- .env.example | 4 + .idea/workspace.xml | 118 + README.md | 6 + app/address/[address]/entries/page-client.tsx | 4 +- app/address/[address]/layout.tsx | 282 +- .../program-multisig/page-client.tsx | 27 + .../[address]/program-multisig/page.tsx | 21 + .../[address]/verified-build/page-client.tsx | 27 + app/address/[address]/verified-build/page.tsx | 21 + app/api/domain-info/[domain]/route.ts | 6 +- app/components/SearchBar.tsx | 4 +- app/components/account/AnchorAccountCard.tsx | 16 +- app/components/account/AnchorProgramCard.tsx | 61 +- app/components/account/DomainsCard.tsx | 22 +- .../account/ProgramMultisigCard.tsx | 97 + .../account/TokenAccountSection.tsx | 18 +- .../UpgradeableLoaderAccountSection.tsx | 85 +- app/components/account/VerifiedBuildCard.tsx | 137 + .../account/address-lookup-table/types.ts | 6 +- app/components/common/Downloadable.tsx | 44 +- app/components/common/IDLBadge.tsx | 14 + .../common/VerifiedProgramBadge.tsx | 43 + .../inspector/AddressTableLookupsCard.tsx | 2 +- .../inspector/InstructionsSection.tsx | 60 +- .../instruction/AnchorDetailsCard.tsx | 42 +- app/components/instruction/RawDetails.tsx | 2 +- app/layout.tsx | 12 +- app/providers/accounts/history.tsx | 2 +- app/providers/accounts/index.tsx | 12 +- app/providers/accounts/utils/stake.ts | 305 + app/providers/accounts/vote-accounts.tsx | 13 +- app/providers/anchor.tsx | 17 +- app/providers/cluster.tsx | 5 +- app/providers/compressed-nft.tsx | 12 +- app/providers/squadsMultisig.tsx | 69 + app/providers/stats/solanaClusterStats.tsx | 5 +- app/providers/supply.tsx | 5 +- app/scss/dashkit/_navbar.scss | 2 +- app/types/react-json-view.d.ts | 7 + app/utils/anchor.tsx | 87 +- app/utils/ans-domains.tsx | 76 + app/utils/convertLegacyIdl.ts | 450 + app/utils/domain-info.ts | 20 +- app/utils/programs.ts | 41 +- app/utils/token-search.ts | 4 +- app/utils/verified-builds.tsx | 49 + next.config.mjs | 3 +- package.json | 25 +- pnpm-lock.yaml | 12809 ++++++++++------ 49 files changed, 9902 insertions(+), 5297 deletions(-) create mode 100644 .env.example create mode 100644 .idea/workspace.xml create mode 100644 app/address/[address]/program-multisig/page-client.tsx create mode 100644 app/address/[address]/program-multisig/page.tsx create mode 100644 app/address/[address]/verified-build/page-client.tsx create mode 100644 app/address/[address]/verified-build/page.tsx create mode 100644 app/components/account/ProgramMultisigCard.tsx create mode 100644 app/components/account/VerifiedBuildCard.tsx create mode 100644 app/components/common/IDLBadge.tsx create mode 100644 app/components/common/VerifiedProgramBadge.tsx create mode 100644 app/providers/accounts/utils/stake.ts create mode 100644 app/providers/squadsMultisig.tsx create mode 100644 app/types/react-json-view.d.ts create mode 100644 app/utils/ans-domains.tsx create mode 100644 app/utils/convertLegacyIdl.ts create mode 100644 app/utils/verified-builds.tsx diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..71a212f6 --- /dev/null +++ b/.env.example @@ -0,0 +1,4 @@ +# Fill these out with a custom RPC url to test the explorer locally without getting rate-limited +NEXT_PUBLIC_MAINNET_RPC_URL= +NEXT_PUBLIC_DEVNET_RPC_URL= +NEXT_PUBLIC_TESTNET_RPC_URL= diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 00000000..ef3dc8cd --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + { + "associatedIndex": 0 +} + + + + + + + + + + + + + + + + + + + +