Commit Graph

345 Commits

Author SHA1 Message Date
Josh a36d2f2d3e
fix: use uiAmountString in token balances component (#15860) 2021-03-15 04:25:09 +00:00
Justin Starry 420174d3dd
explorer: Fix midnight timestamps (#15843) 2021-03-14 11:26:14 +08:00
Justin Starry 485a943958
explorer: Add label for serum dex v1 (#15842) 2021-03-14 10:20:31 +08:00
Justin Starry 3722f46089
explorer: Add token symbol to token label (#15841) 2021-03-14 10:16:32 +08:00
Justin Starry c4f98f9c73
explorer: Add details pages for upgradeable loader accounts (#15836) 2021-03-14 01:11:59 +08:00
Justin Starry 186b342453
explorer: Update superstruct (#15835) 2021-03-13 13:31:52 +08:00
Justin Starry be99cef593
explorer: Filter program search results by cluster (#15820) 2021-03-12 22:10:38 +08:00
Josh 61c7ce857e
fix: vote timestamp is nullable (#15774) 2021-03-09 15:50:37 +00:00
Josh 5bde399499
Explorer: update to new spl-token-registry standard (#15765)
* feat: update tokenlist

* feat: bump spl-token-registry version to 0.2.0
2021-03-08 14:23:07 -08:00
Josh 437d9311fb
fix: structs need to use pick instead of object, and add uiAmountString (#15745) 2021-03-05 14:08:40 -08:00
Josh a43a783aa4
Explorer: update TokenLargestAccounts to use uiAmountString. (#15743)
* feat: bump web3 to 0.94.2

* fix: update token largest accounts component to support uiAmountString

* fix: format code
2021-03-05 20:20:30 +00:00
Josh 11c154dfb9
Explorer: support uiAmountString api updates (#15742)
* fix: support uiAmountString api updates

* fix: remove this uiAmount

* fix: change owned account section and token account section to support BigNumber uiAmountString

* fix: update web3 to latest
2021-03-05 19:34:26 +00:00
Justin Starry f72640c9b2
explorer: Display transaction success stats (#15704) 2021-03-04 23:58:22 +08:00
Justin Starry efa3cd711c
explorer: Add tabs for block program and account stats (#15702) 2021-03-04 21:12:41 +08:00
Justin Starry 7bf430b360
Add serum program to search results (#15703) 2021-03-04 20:48:54 +08:00
Josh 0970653b6a
feat: add two additional Serum markets to Explorer (#15680) 2021-03-03 08:49:40 -08:00
Josh 8d0d6ded01
feat: introduce three new Serum instructions and program ID, rename bpf-upgradeable-loader card (#15679) 2021-03-03 16:43:06 +00:00
Josh 8c73187b1e
fix: expand vote details card to cover all instructions (#15602) 2021-03-01 13:45:19 -08:00
Josh d679eff3fa
fix: remove old hotfix for web3 inner instructions (#15604) 2021-03-01 13:44:43 -08:00
Josh 24af9961d2
hotfix: explorer temporary disable vote instruction card (#15596) 2021-03-01 18:05:51 +00:00
Josh e7bb1b7cd5
feat: introduce upgradeable bpf loader instruction cards (#15563)
* feat: introduce upgradeable bpf loader instruction cards

* feat: text-muted datatype labels consistently
2021-02-26 15:50:37 -08:00
Josh 28a8f142fc
feat: standardize timestamps throughout explorer (#15562)
* feat: timestamps should use local time everywhere but cluster stats, monospace text

* feat: normalize timestamp through explorer
2021-02-26 18:47:03 +00:00
Josh d62c8e7f3b
fix: explorer vote card has incorrect timestamp conversion (#15552) 2021-02-26 03:22:12 +00:00
Josh 7cb44b1095
feat: add program to vote and memo instruction card (#15523) 2021-02-24 21:01:10 +00:00
Josh 976a64c25c
explorer: introduce vote instruction card (#15521)
* refactor: move instruction section to components

* feat: votes instruction card

* refactor: move program log section into separate component
2021-02-24 20:38:53 +00:00
Josh 2483a05786
feat: add solana-token-registry to explorer (#15496)
* feat: add solana-token-registry to explorer

* feat: bump version for token-registry

* fix: ensure tokenName and tokenSymbol exist in incoming json
2021-02-24 12:30:55 -08:00
Josh a07fa5b623
explorer: add fetch polyfill and clean up / message change (#15505) 2021-02-24 05:27:35 +00:00
Josh 53dfc211ec
explorer: detect if localstorage is available (#15499)
* feat: detect if localstorage is available

* feat: do not show developer settings in cluster modal if localStorage is disabled
2021-02-23 22:53:22 +00:00
Josh 58b35db384
explorer: block query should be strictly integers (#15442) 2021-02-19 18:37:39 +00:00
Josh 5548e599fe
explorer: prevent large slot number input stemming from hex strings (#15438)
* explorer: prevent large slot number input stemming from hex strings

* explorer: support IE11
2021-02-19 17:20:03 +00:00
Josh 13d55b7080
explorer: add confirmation status (#15422) 2021-02-19 08:57:26 -08:00
Justin Starry 7b67a6d208
Load memo v2 into genesis for test validator (#15425)
* Load memo v2 into genesis for test validator

* feedback

* versions

* remove .so

* add .so
2021-02-19 15:59:31 +08:00
Josh e0e4bed205
explorer: add error message to copy component (#15423)
* explorer: add error message to copy component

* Merge copyable and copy button components

Co-authored-by: Justin Starry <justin@solana.com>
2021-02-19 03:52:05 +00:00
Josh b9fb595db2
explorer: remove line breaks from wrapped data (#15379) 2021-02-17 12:12:49 -08:00
Justin Starry 4d16b2fcc5
explorer: Add upgradeable loader to search results (#15373) 2021-02-17 23:00:12 +08:00
Justin Starry aaa44355b1
explorer: Display upgradeable program details (#15348) 2021-02-16 18:30:02 +08:00
Josh 762bab7755
explorer: reverse order on market and event queue pubkeys for serum consume events (#15270) 2021-02-11 12:00:03 -08:00
B a0ba59a1ea
Add titles for token lending instructions (#15217)
* feat: add lending instruction names

* chore: capitalize words
2021-02-09 19:50:34 -06:00
Josh f2f4003e70
explorer: introduce Token Balances on transaction details page (#14877)
* explorer: introduce Token Balances on transaction details page

* fix: run prettier

* introduce BigNumber.js

* account for case where mint changes

* introduce BalanceDelta component

* remove unneeded import

* break token balances card into own file
2021-02-08 19:54:03 -08:00
Josh 0da11af827
explorer: Introduce flagged accounts provider (#15161) 2021-02-08 12:54:36 -08:00
Josh 9e39b815f7
explorer: introduce stake merge instruction card (#15160) 2021-02-08 12:54:11 -08:00
Dan Albert 903a08c4b3
Add USDT to token registry (#15019)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2021-02-02 15:52:00 -07:00
DR497 cde7b583b8
explorer: Add MAPS to token Registry (#14959) 2021-02-01 12:49:26 +01:00
Josh ad9ea91c1d
explorer: add pagination to block rewards (#14906) 2021-01-28 13:26:06 -08:00
Josh 577310380a
explorer: Introduce scam registry and flag on account pages (#14886)
* explorer: add spam registry

* explorer: adjust warning messaging

* fix: remove red borders

* explorer: change spam to scam

* explorer: no need for this to be a prop now
2021-01-27 13:50:02 -08:00
Josh 9411af4a95
explorer: Only report getBlockTime error under max confs (#14869) 2021-01-26 14:57:50 -08:00
Josh a3e0a365a5
explorer: Add timestamps to transaction history (#14782)
* add timestamps to transaction history

* use local timestamps for blocktime display

* revert to showing full universal time systemwide
2021-01-26 12:20:09 -08:00
Josh a395037671
explorer: Add block rewards to block details page (#14786)
* explorer: add block rewards

* add key to tr map
2021-01-26 11:51:58 -08:00
mileschet 7604edb16f Added BRZ token on explorer token registry 2021-01-23 11:41:55 -08:00
Leo 561d385281 explorer: fix typo in InitializeMarketDetailsCard 2021-01-23 11:40:03 -08:00
Jon Cinque 170a3aec14
Add new instructions and program id to explorer (#14771) 2021-01-23 12:31:59 +01:00
Josh 1e45b3e6d2
explorer: introduce transfer with seed instruction card (#14730) 2021-01-20 23:49:32 -08:00
dependabot[bot] 5f7d79e4f7
chore:(deps): bump @types/react-select from 3.0.26 to 3.1.2 in /explorer (#14385)
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select) from 3.0.26 to 3.1.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 09:48:51 +08:00
dependabot[bot] b87d6cd03d
chore:(deps): bump typescript from 4.0.5 to 4.1.3 in /explorer (#14284)
* chore:(deps): bump typescript from 4.0.5 to 4.1.3 in /explorer

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.5 to 4.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.5...v4.1.3)

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

* bump

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com>
2021-01-11 09:40:56 +08:00
R. M. Shea 769b8f5613
Remove unlock banner (#14477)
Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com>
2021-01-07 09:54:25 -07:00
Justin Starry 3fc7362486
explorer: Hide banner when lockup has expired (#14473) 2021-01-07 21:26:18 +08:00
Josh a89ba32b24
explorer: remove UTC from cluster time (#14466)
* remove UTC mentions

* remove UTC from cluster stats
2021-01-06 13:02:32 -08:00
Josh 069d6a067c
remove UTC mentions (#14465) 2021-01-06 12:45:01 -08:00
Josh b7b3de528b
explorer: format cluster time and locked stake accounts as utc (#14461) 2021-01-06 09:58:55 -08:00
R. M. Shea a31f5f467b
Add UTC timing, tweak copy (#14460)
* Add UTC timing, tweak copy

* More copy tweaks

* More copy
2021-01-06 10:35:30 -07:00
Josh 0767ea174e
explorer: add temporary unlock alert box (#14457)
* Add token unlock banner

* make cluster time dynamic

* remove seconds display since it differs slightly from cluster stats

Co-authored-by: rmshea <8948187+rmshea@users.noreply.github.com>
2021-01-05 21:00:36 -08:00
Josh e5b10d8b7e
explorer: display block time on cluster stats (#14439)
* explorer: display block time on cluster stats

* interpolate blocktime values between fetches

* prevent time from going backwards
2021-01-05 14:22:12 -08:00
Josh ecde98401b
explorer: add load button for largest accounts card (#14437) 2021-01-05 11:22:15 -08:00
Josh 33de9300d2
explorer: add Kin to token registry (#14168) 2020-12-16 19:29:26 -08:00
Josh 3a154e8056
explorer: Token history dropdown filter (#14032)
* feat: add filter on token history card

* rename to filter

* use unicode ellipsis

* better naming

* filter options read better and use just pubkey strings

* memoize filtered list

* only fetch filtered

* pre filter tokens

* fix prettier
2020-12-15 20:19:50 -08:00
DR497 eb35c03bef
Fida token (#14111) 2020-12-14 08:11:13 -08:00
Josh 8d1651c8ad
explorer: hotfix - undefined nonce instruction check (#14029) 2020-12-09 12:00:40 -08:00
Josh 08674b8388
hotfix: manually coerce some inner instructions (#13963) 2020-12-04 14:47:17 -08:00
Josh ed15ce0bbe
explorer: infinity stats issue hotfix (#13959) 2020-12-04 10:36:06 -08:00
Josh f2b31c3a89
explorer: prevent raw details from showing on inner instructions (#13951) 2020-12-03 14:31:45 -08:00
Josh d3a4140899
Explorer: Display CPI details for transaction (#13801)
* explorer: show inner instructions on token history

* resolve warnings

* show inner instructions on transaction details page

* adjust contrast and add inner instructions row

* show inner instructions after slot 46915769

* token history show inner instructions after 46915769

* restrict early slots only on mainnet

* self nit naming

* self nit: better name for constant

* add signature-truncate class

* resolve incoming raw transaction on transactions details
2020-12-03 12:23:28 -08:00
kev zettler 9b143f030e
explorer: Restore readonly / signer raw insturction fields (#13909)
This is a follow up to #13855 It consolidates the RawParsedDetails and
RawDetails fields so that readonly/ signer instruction fields are
availalbe to parsed-raw instructions
2020-12-02 14:19:45 -08:00
kev zettler 75e3f5cd48
Explorer: add Raw instruction data to parsed instructions (#13855)
This commit allows users to click the "raw" button on transaction
instructions and fetch the raw hex or base64 representations of the instruction.

Adds a fetch action to the click event of the "raw" button on the
instruction UI.

adds a fetchRawTransaction hook that is passed down to the
instruction UI components. Adds addition `rawFetchTrigger` and `raw`
props passed to the instruction card components.
2020-11-30 13:35:33 -08:00
Josh 6cf6cd2fba
Explorer: introduce Memo Program to search bar (#13865) 2020-11-30 12:09:59 -08:00
Josh ed82bf70f5
hotfix: customUrl effect is preventing redirects, add check (#13742) 2020-11-20 14:02:11 -08:00
Josh c76cba465d
explorer: Rename SYSVARs to Title Case (#13679) 2020-11-19 14:06:24 -08:00
Josh b33e5b87dd
explorer: introduce details card for memo instruction (#13538) 2020-11-19 14:05:55 -08:00
Justin Starry 83799356dd
explorer: Add developer setting to enable customUrl param (#13697) 2020-11-19 08:03:20 -06:00
dr497 536becbfab explorer: Add SRM tee-shirt NFT to the tokenRegistry 2020-11-18 09:14:35 -08:00
DR497 554060b3c5
explorer: Add additional tokens and icons to registry (#13544)
* Add NFTs to the explorer
* Add missing tokens
2020-11-11 22:19:42 -08:00
Michael Vines 2d24160376 Add SPL Associated Token Account Program label to explorer 2020-11-05 23:03:03 +00:00
Josh 67d570d121
explorer: Capitalize underscore sysvar titles (#13428) 2020-11-05 13:36:39 -08:00
Josh cef0d5879f
explorer: Serum DEX instruction full decoding and instruction cards (#13330)
* map serum instructions in tokenhistory card

* add token swap instruction parsing

* add serum instruction builders

* add new serum instruction detail cards

* fix decode bug on cancel order by client id

* avoid parsing unsupported instructions
2020-11-05 13:19:02 -08:00
Josh d3a3a7548c
explorer: add serum new order v2 instruction mapping (#13353) 2020-11-02 11:49:26 -08:00
Josh 2f657bc0ca
explorer: Parse Serum DEX and swap instructions for TokenHistory (#13320)
* map serum instructions on token history card

* add token swap instruction parsing

* refactor serum program and instruction data
2020-10-31 19:21:20 -07:00
Josh 7ddf10e602
explorer: add Wrapped FRONT to token registry (#13299) 2020-10-29 22:37:22 -07:00
Josh ecd74c3786
Explorer: correct system instruction names (#13284)
* fix system instruction names
2020-10-29 13:14:22 -07:00
Justin Starry 636ae12621
Explorer: use explicit types for instruction info (#13257) 2020-10-29 23:46:36 +08:00
Josh 0d233370e8
Explorer: disable sentry error for cluster stats timeout (#13283) 2020-10-29 08:38:51 -07:00
Justin Starry 0f05e086fe
Explorer: fix slot links and block details page on devnet (#13274) 2020-10-29 20:34:05 +08:00
Justin Starry 5fb8b84d84
Explorer: tweak cluster stats page (#13267) 2020-10-29 13:17:45 +08:00
Justin Starry ffeadd4e29
Explorer: don't throw error for strange token instructions (#13268) 2020-10-29 13:17:35 +08:00
Josh 032a7d36ff
explorer: wrap bytes on bpf-loader-2 write instruction (#13253) 2020-10-28 21:08:24 -07:00
Justin Starry 61c2970141
Explorer: remove wasm stake parsing (#13266) 2020-10-29 11:37:55 +08:00
Justin Starry 781b92a8c0
Explorer: Linkify all displays of slot number (#13262) 2020-10-29 10:45:44 +08:00
Justin Starry 144bd36674
Explorer: fix confirmed block refetch (#13261) 2020-10-29 10:36:48 +08:00
Justin Starry a74f0f90e4
Explorer: Disable raw button for unknown instructions (#13260) 2020-10-29 10:27:37 +08:00
Justin Starry 2cf44a9e14
Explorer: Show empty state when block has no transactions (#13259) 2020-10-29 09:51:19 +08:00
Justin Starry de71fb9bdd
Explorer: trim whitespace in search bar (#13258) 2020-10-29 09:44:27 +08:00
Josh 413dfb01d5
explorer: Update instruction details cards to handle parsed instructions for system, stake, and bpf-loader (#13247)
* update instruction cards to support system, stake, and bpf-loader parsed instructions
2020-10-28 15:28:12 -07:00