Commit Graph

353 Commits

Author SHA1 Message Date
Ruud van Asseldonk fb0c590090
Add Lido for Solana program address label to explorer (#19870) 2021-09-15 09:52:20 -05:00
Justin Starry 4cc17ec6a7
explorer: Fix wrapping for pretty hex data (#19835) 2021-09-13 17:07:13 -05:00
Justin Starry af005d79ad
explorer: Display invoked programs in block transaction list (#19815) 2021-09-12 19:05:46 -05:00
Justin Starry ab152f1319
explorer: Pretty print instruction data hex strings (#19813) 2021-09-12 16:02:11 -05:00
Siong d2731a2d93
add Mercurial to Solana Explorer. (#19812)
* add Mercurial to Solana Explorer.

* format fix.

* alphabetize the program.
2021-09-12 14:47:16 +00:00
Michael Huang c8b285bce0
fix mislabeled SUNNY program on explorer (#19809)
* fix mislabeled SUNNY program on explorer

* Fix type error

* prettier
2021-09-12 13:10:12 +00:00
Justin Starry f8870ff1e3
explorer: Display writable badge instead of readonly badge (#19808) 2021-09-12 07:46:08 +00:00
tmoc 4afd6dddc8
Adding Orca program IDs (#19731) 2021-09-08 23:41:53 +00:00
Justin Starry 37fe5139cc
Add more program labels to explorer (#19630) 2021-09-06 22:00:13 +00:00
microwavedcola1 46db029a00
Bump mango client used by explorer, previous version was breaking explorer builds (#19668)
* Bump mango client used by explorer, previous version was breaking explorer builds

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* run prettier

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2021-09-06 14:41:18 -07:00
microwavedcola1 f7a5c0301a
Mango v3 integration (#19437)
* mango v3 integration

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* more instructions InitMangoAccount, Deposit, Withdraw, InitSpotOpenOrders, ConsumeEvents

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* add support for addPerpMarket

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* code review

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* make group config handling generic

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* code review

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* fix issue where rpc calls would be done infinitely - basically react useeffect (when to change) was not narrow enough + added some caching

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2021-09-04 00:01:29 +02:00
dependabot[bot] bbc4fdb767
chore:(deps): bump typescript from 4.3.5 to 4.4.2 in /explorer (#19463)
* chore:(deps): bump typescript from 4.3.5 to 4.4.2 in /explorer

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix error type

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com>
2021-09-03 18:05:13 +00:00
Josh 2c648cc6b6
fix: support uninitialized upgradeable program account in AccountSection (#19268) 2021-08-17 12:07:10 -07:00
Josh 5fde4ee3ae
fix: price can be unexpectedly missing even under Coingecko success result (#19209) 2021-08-12 18:12:07 +00:00
Justin Starry f5ce2c2d63
Add incinerator to explorer search results (#19125) 2021-08-09 16:10:42 +00:00
Josh 93c20d0a47
feat: show transaction errors in log (#18843) 2021-07-26 13:54:50 -07:00
Sebastian Bor 2f3df8cce0
Explorer: Show simulation error for Upgrade instruction with none existing buffer (#18838) 2021-07-22 16:28:04 +01:00
Sebastian Bor b867fa154e
Explorer: Initialise instruction logs for single line system log (#18777) 2021-07-21 17:52:57 +01:00
Sebastian Bor 2bc7edfd01
Explorer: Include loader ids in program labels (#18778) 2021-07-21 11:23:47 +01:00
Josh 8549c19f1a
Explorer: introduce Coingecko price cards on mint pages (#18653)
* feat: add coingecko prices, market caps, volume to token account

* feat: add updated time to price widget

* feat: add loading state to coingecko and break front page price data into widgets

* fix: prevent flicker on refresh
2021-07-20 09:43:17 -07:00
Josh d9970c0a7d
fix: only bind cluster stats on working connections (#18763) 2021-07-19 17:59:47 +00:00
Josh 74b29c0b6f
feat: localize token supply number (#18654) 2021-07-14 04:09:44 +00:00
Josh d2b07dca9d
fix: regression in rewards provider where lowestFetched is off by one (#18392) 2021-07-02 19:06:40 +00:00
Josh f871afd548
fix: prevent negative count up period on tps card (#18344) 2021-07-01 00:47:54 +00:00
Josh 50deba1f10
feat: additional serum instructions (#18209) 2021-06-24 22:12:47 +00:00
Justin Starry 522062350b
explorer: retain inspector signatures and show simulation error (#18178) 2021-06-23 16:00:49 -05:00
Josh 483a1477f3
Explorer: display message when block rewards not found for interval (#17943)
* fix: disable block not found error message and give feedback for rewards not found

* feat: add lowest available epochs for rewards

* feat: make sure current epoch is not fetched
2021-06-23 13:49:52 -07:00
Justin Starry 67795f5baa
explorer: increase color contrast (#18124) 2021-06-22 00:33:55 +00:00
Justin Starry 1c88189a1c
explorer: Add transaction inspector (#17769)
* Add SolBalance component helper

* Add transaction inspector

* Feedback
2021-06-21 18:53:06 -05:00
dependabot[bot] e440d00ba0
chore:(deps): bump prettier from 2.3.0 to 2.3.1 in /explorer (#17785)
* chore:(deps): bump prettier from 2.3.0 to 2.3.1 in /explorer

Bumps [prettier](https://github.com/prettier/prettier) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.0...2.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix formatting

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com>
2021-06-11 16:52:27 -07:00
Justin Starry 179856c13a
explorer: Display correct list of block programs (#17489) 2021-05-26 08:21:07 -07:00
Josh 752cd7d15e
feat: use specialized explorer endpoints (#17516) 2021-05-26 07:09:35 -07:00
dependabot[bot] 744f4dd834
chore:(deps): bump prettier from 2.2.1 to 2.3.0 in /explorer (#17454)
* chore:(deps): bump prettier from 2.2.1 to 2.3.0 in /explorer

Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

* format

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com>
2021-05-24 21:24:11 -07:00
Josh 741f99ebb6
Explorer: introduce rewards tab for stake/vote accounts (#16851)
* feat: introduce staking rewards tab

* feat: take into consideration stake activation

* fix: report fetch errors

* fix: find rewards all the way to epoch 0

* fix: find rewards all the way to epoch 0

* fix: autocomplete error

* fix: load one page at a time
2021-05-20 14:00:48 -07:00
Josh 8a574baae2
Explorer: add token market prices from Coingecko (#17289)
* feat: add coingecko prices to tokens with associated coingeckoId

* feat: useCoingecko util
2021-05-17 12:43:18 -07:00
Justin Starry 0a6fa1999a
explorer: Fix bonfida dependency (#17120)
* explorer: Fix bonfida dependency

* fix import
2021-05-08 15:09:14 +08:00
Josh 769136f586
feat: associated token program card (#17043) 2021-05-05 11:49:05 -07:00
Josh 1594a7f11a
fix: change unlisted to unknown for unknown token accounts (#16981) 2021-04-30 15:21:47 -05:00
DR497 0ef5a9b1d7
explorer: add Bonfida Bots instructions (#16872)
* explorer: add Bonfida Bots instructions

* Update explorer/src/components/instruction/BonfidaBotDetails.tsx

Co-authored-by: Josh <josh.hundley@gmail.com>

* explorer: Bonfida Bot instructions fixes

Co-authored-by: Josh <josh.hundley@gmail.com>
2021-04-29 15:47:10 -07:00
Tyera Eulberg 2420b280a9
Update deprecated commitments (#16794) 2021-04-23 18:32:28 -06:00
Josh 084997c4f0
hotfix: avoid passing along additionalSignatures as an option to getConfirmedSignaturesForAddress2 (#16734) 2021-04-22 20:27:17 -07:00
Josh c63a208488
hotfix: don't report to sentry for custom clusters on token account section (#16597) 2021-04-16 10:09:05 -07:00
Justin Starry 013875e787
Fix instruction validation for parsed memo instructions (#16591) 2021-04-16 05:04:06 +00:00
Josh 143496ccba
Explorer: hide irrelevant delegation information displayed for inactive stake (#16467)
* fix: hide irrelevant delegation information displayed for inactive stake

* fix: when inactive_stake equals delegated_stake, display as initialized

* refactor: clean up logic

* fix: reverse logic on showDelegation

* fix: change copy to not delegated
2021-04-14 16:26:31 -07:00
Josh 39eddfd161
explorer: Token mint histories (token balance and token instructions tabs) (#15861)
* feat: refactor and introduce balances and instructions tabs for mints

* fix: refactor instruction utilities into common file

* refactor: move transaction history components into one spot

* chore: minor cleanup

* fix: show only token instructions

* fix: use better naming for slugs and paths

* feat: refactor and work on transaction status

* feat: show token transfer details

* fix: format code and remove some extra spaces

* fix: exclude non-mint transfers

* feat: introduce react-moment and reorganize history tables

* feat: reintroduce status columns and reorganize columns

* fix: remove ts-ignore

* feat: refactor history card components

* fix: remove detailed history provider

* fix: filter instructions and inner instructions based on mint

* fix: use better key and report parse error

* fix: remove double spacing

* feat: batch transaction map batches

* fix: remove debug code

* fix: pass proper signatureInfo and reduce batch size to 10
2021-04-14 16:22:40 -07:00
Josh a7f8239b46
Explorer: use identicon and token layout for unlisted tokens (#16347)
* feat: use identicon and token layout for unlisted tokens

* feat: add identicon to smaller icons and change dependency to current package

* fix: add proper library
2021-04-12 11:25:51 -07:00
Josh 91d5f6ab30
fix: token holdings summary table sums tokens correctly (#16464) 2021-04-10 12:24:56 -07:00
Josh c4646b2bc3
fix: active stake is an epoch off, use getVoteAccounts to sum active stake (#16465) 2021-04-10 12:23:56 -07:00
Josh a1f1f573d5
hotfix: account for custom endpoint possible conditions in stakehistory (#16151) 2021-03-26 17:54:53 +00:00
Josh bf6b098c75
Explorer: add color to price change and updated at time (#16140)
* feat: add color to price change and updated at

* feat: add market cap rank

* fix: rename slug ignore
2021-03-25 21:50:47 +00:00