Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
61500ff
BEDS-1093: fix: gasnow order, improve algo, show one decimal place on…
manuelsc Feb 12, 2025
d443947
misc: clean up comments
manuelsc Feb 12, 2025
652938a
keep formatting
manuelsc Feb 12, 2025
e5fa0d3
added test cases
manuelsc Feb 12, 2025
9afa93b
added rpc test
manuelsc Feb 12, 2025
af0152b
fix static check
manuelsc Feb 12, 2025
fd2d1d4
add: funding.json
invis-bitfly Feb 13, 2025
7d8b70e
Merge pull request #3020 from gobitfly/BEDS-99/op-grant-json
invis-bitfly Feb 13, 2025
d62d55b
misc: include feedback
manuelsc Feb 17, 2025
f3cc045
misc: replace getPercentile with stats percentile
manuelsc Feb 18, 2025
f57ce11
Merge pull request #3019 from manuelsc/BEDS-1093/gasnow-fixes
manuelsc Feb 18, 2025
fdc6226
feat: implement pectra (#3023)
guybrush Feb 28, 2025
2d517f4
fix: don't panic when traces empty
remoterami Mar 5, 2025
d722bf5
Treat 0x02 as valid withdrawal credential now (#3026)
manuelsc Mar 17, 2025
094cba1
feat(api_docs): transition api docs to scalar
peterbitfly Mar 18, 2025
fae6728
fix: validator with index 0 not being treatet as a correct validator …
manuelsc Apr 1, 2025
bcc5f19
feat: add tooltip to warn that it might take double the time to proce…
manuelsc Mar 26, 2025
e8ac00c
fix: apr calculation changed to rely on effective balance rather than…
manuelsc Mar 24, 2025
b4bebde
fix: gnosis el apr
manuelsc Apr 1, 2025
b6f414f
feat: add hoodi
guybrush Mar 20, 2025
16048bc
misc(http): add negroni logger middleware
invis-bitfly Mar 26, 2025
1c171b3
misc(http): set log flags
invis-bitfly Mar 26, 2025
3e745e8
Revert "misc(http): add negroni logger middleware"
invis-bitfly Mar 26, 2025
e550c0b
NOBIDS fix(session): properly log errors during session processing
peterbitfly Mar 27, 2025
f8094e4
fix: add support for type 4 tx, fix bigtable auth, remove obsolete ho…
peterbitfly Mar 28, 2025
15c1f9f
fix: adopt tests (#3039)
guybrush Mar 28, 2025
95a1519
fix: update protobuf-defs and add generate.go
guybrush Apr 3, 2025
d145ece
feature: compounding requests in slot/block page
manuelsc Mar 17, 2025
43baa8a
feature: base proposal luck on eb, remove sync committee luck
manuelsc Apr 3, 2025
bb9115a
fix: improve perf of services.getIndexPageData
guybrush Apr 7, 2025
51b73eb
misc: remove api docs
manuelsc Apr 15, 2025
2f31042
feature: consolidation eta estimates
manuelsc Mar 24, 2025
3ac535b
fix: formatting
manuelsc Mar 24, 2025
3b5f6ac
fix(re index): skip raw store call if not set up
Tangui-Bitfly Apr 17, 2025
02fc613
fix(frontend): fix txs-tab on blocks-page for pre-merge blocks
guybrush Jan 27, 2025
14a06bb
fix(traces): use geth traces (#3053)
Tangui-Bitfly Apr 22, 2025
5a5a65b
feature: pending queue exporter, pending queue service, estimate for …
manuelsc Apr 10, 2025
76fdda6
fix(transformer): adds EL data for pectra (#3044)
Tangui-Bitfly Apr 24, 2025
d2b4f9d
fix: consider invalid deposits as valid if they happened after the fi…
manuelsc Apr 23, 2025
68a27c0
ci: also push docker release-tag (#3056)
guybrush Apr 25, 2025
06562bc
ci: fix pushing release-tag (#3057)
guybrush Apr 25, 2025
85b61ed
fix: panic indexer (#3058)
Tangui-Bitfly Apr 25, 2025
cde5795
fix: Corrected type for BridgeQueueRequest.Fee from []byte to uint64 …
Tangui-Bitfly Apr 25, 2025
cebd100
feature: better predictability in sorting of execution consolidations…
manuelsc Apr 28, 2025
009fc3b
feature: display exits on validator page and include el triggered exi…
manuelsc Apr 28, 2025
8c4dd7d
fix: uint conversion, filter out null address from api calls, special…
manuelsc May 5, 2025
fab7a49
feature: show topup deposits, fix edge case regardconsider if balance…
manuelsc Apr 25, 2025
eabf785
misc: more defensive calculateChurn
manuelsc Apr 25, 2025
2f6329b
fix: spelling
manuelsc Apr 25, 2025
38e1be8
fix: template err
manuelsc Apr 25, 2025
7a1a870
fix: initial tab not properly displaying
manuelsc Apr 25, 2025
9eaecb9
misc: rework kept compatibility of validator queue counts
manuelsc Apr 28, 2025
c9c724c
misc: allocate
manuelsc May 5, 2025
133fea2
misc: update comments
manuelsc May 5, 2025
9070fbb
misc: do not set activationeligibilityepoch for validators that will …
manuelsc May 5, 2025
b228a92
fix: countdown differs from datum shown, misc: deposit precision
manuelsc May 6, 2025
d86dc21
fix: network stats should display balances post pectra
manuelsc May 6, 2025
32bb325
misc: leaving balance shortBalance formatting
manuelsc May 6, 2025
84cdc50
bandaid: treat pending_initialized as pending (#3067)
manuelsc May 7, 2025
0b0053f
chore: add nil check and error logging to improve block trace handlin…
Monika-Bitfly May 7, 2025
c32108e
fix: remove rocket for validators that reach countdown 0 but do not h…
manuelsc May 7, 2025
8a36e0b
fix: queue subtraction
manuelsc May 7, 2025
1528609
fix: consensus layer withdrawals not loading if validatorstatus is pe…
manuelsc May 7, 2025
4a76d57
fix: el consolidation wrongly being marked as invalid on target valid…
manuelsc May 7, 2025
310ba05
fix: stuck goroutine if balance can not be retrieved
manuelsc May 7, 2025
f63aff5
misc: wording change for consolidation progress
manuelsc May 7, 2025
d60a9ef
fix: fallback if validator has not been found in pending deposit queue
manuelsc May 7, 2025
2ccfa75
fix: gramar error withdrawal credentials
manuelsc May 8, 2025
c071be0
misc: fallback text for when deposit queue position can not be determ…
manuelsc May 8, 2025
cd9fb11
misc: undo bandaid
manuelsc May 8, 2025
67cb444
fix: consolidation progress alert appearing on target validator
manuelsc May 8, 2025
67f8721
fix: pectra event indexing (#3069)
remoterami May 8, 2025
e9f57f4
eth1indexer: fix IndexBlocksWithTransformers if mutsData is nil (#3070)
guybrush May 8, 2025
16cc7c2
fix: filter genesis (#3072)
remoterami May 8, 2025
6500ad2
misc: remove invalid-signature tooltip, too confusing (#3073)
manuelsc May 12, 2025
933ea3d
fix: incorrectly showing withdrawals for pending validators that do n…
manuelsc May 12, 2025
2fa1f84
fix: consolidation in progress sometimes shown even after consolidati…
manuelsc May 12, 2025
7003e35
fix: countdown rocket appearing despite min activation threshold not …
manuelsc May 12, 2025
9ad4275
chore: improve logging for misc re-index (#3079)
guybrush May 12, 2025
b3f9d53
misc: disable withdrawal tab if there is nothing to show (#3078)
manuelsc May 13, 2025
1dd8471
fix: withdrawal estimation only for validators at maxeb, replace usag…
manuelsc May 13, 2025
6f5e609
fix: large attestation components not loading (#3071)
manuelsc May 13, 2025
64f6b48
misc: removal of 'valid signature' column on deposits page
manuelsc May 15, 2025
c18291e
misc: blocks_deposit_requests -> blocks_deposit_requests_v2
manuelsc May 19, 2025
e39a084
misc blocks_consolidations_requests -> blocks_consolidations_requests_v2
manuelsc May 20, 2025
87aeb03
misc: blocks_switch_to_compounding_requests -> blocks_switch_to_compo…
manuelsc May 20, 2025
845c412
misc: blocks_withdrawal_requests -> blocks_withdrawal_requests_v2
manuelsc May 20, 2025
d4afc0a
feat: reference queue deposit request (#3082)
remoterami May 20, 2025
d02267d
fix: fix db.CalculateTxFeeFromTransaction for type-4 txs (#3086)
guybrush May 27, 2025
42ee250
fix: add reth to ethClients in valid subscription filter check
igorline May 21, 2025
f6a6cd5
fix: remove rudimental support column value for reth client
igorline May 21, 2025
f4f2e1f
feat: replace rocket pool smartnode repo with new one (#3089)
manuelsc Jun 4, 2025
4f2bffa
feat: track dashboard requests per vali count (#3091)
guybrush Jun 12, 2025
e6c1b36
misc: added v1 dashboard deprecation notice
manuelsc Jun 16, 2025
b98592f
feat: deprecation notice for daily income and monthly report
manuelsc Jul 8, 2025
bd343f4
fix: normalize ens-names (#3100)
guybrush Jul 23, 2025
2be093a
fix: show ens-name when the url contains the ens-name (#3101)
guybrush Jul 23, 2025
0664579
fix(eth1indexer): skip invalid ens-names
guybrush Aug 5, 2025
957304c
feat(ci): also create docker-images on staging-branch
guybrush Aug 7, 2025
66189b3
allow custom range in ApiValidatorAttestations (#3107)
invis-bitfly Aug 11, 2025
bffe18e
fix(api): improve get validator bls change query
peterbitfly Aug 18, 2025
9c300c0
fix(api): improve get validator bls change query
peterbitfly Aug 18, 2025
8d4a09d
fix: session parsing for UserV1Notification
manuelsc Aug 6, 2025
dbdcd76
feat: remove deprecated pages and associated code
manuelsc Jul 8, 2025
ed6023e
feat: reroute non v1 notification users to v2
manuelsc Jul 9, 2025
d3e33c4
feat: dynamic nav url for v1 notification or v2 notifications, defaul…
manuelsc Aug 5, 2025
72894c5
fix: remove navlink reference to removed page
manuelsc Aug 22, 2025
52d9917
fix: improve vali-page qry for exec-consolidations
guybrush Aug 25, 2025
382f1dd
fix: improve vali-page qry for consolidation-reqs
guybrush Aug 26, 2025
36f7868
Staging (#3118)
guybrush Aug 27, 2025
f13fd27
revert proposals endpoint (#3119)
manuelsc Sep 1, 2025
9ab3a59
Create devcontainer.json/clone
theomart77 Sep 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {}
}
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Set up Go 1.21
- name: Set up Go 1.23
uses: actions/setup-go@v4
with:
go-version-file: './go.mod'
Expand All @@ -36,7 +36,6 @@ jobs:

- name: Get dependencies
run: |
go install github.com/swaggo/swag/cmd/swag@v1.7.0 && swag init --parseDependency --parseInternal --parseDepth 1 -g handlers/api.go
go get -v -t -d ./...

# - name: Test
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/publish-dencun-images.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/publish-docker-images-tagged.yml

This file was deleted.

8 changes: 7 additions & 1 deletion .github/workflows/publish-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,21 @@ on:
push:
branches:
- master
- staging
- publish-docker

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- id: pre-step
shell: bash
run: echo "release-version=$(TZ=UTC0 git show --quiet --date='format-local:%Y%m%d%H%M%S' --format="%cd" $GITHUB_SHA)-$(git describe $GITHUB_SHA --always --tags)" >> $GITHUB_OUTPUT; echo "release-branch=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_OUTPUT
- name: Publish to Dockerhub Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: gobitfly/eth2-beaconchain-explorer
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "${{ steps.pre-step.outputs.release-branch }},${{ steps.pre-step.outputs.release-version }}"
26 changes: 12 additions & 14 deletions .github/workflows/staticcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,22 @@ on:
jobs:
ci:
name: "Run CI"
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
go: ["1.21.x"]
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v1
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go 1.23
uses: actions/setup-go@v4
with:
fetch-depth: 1
- uses: WillAbides/setup-go-faster@v1.14.0
with:
go-version: ${{ matrix.go }}
go-version-file: './go.mod'
id: go
- name: Get dependencies
run: |
go get -v -t -d ./...
- run: make all
- run: "go test ./..."
- run: "go vet ./..."
- uses: dominikh/staticcheck-action@v1.3.1
with:
version: "2023.1.7"
install-go: false
cache-key: ${{ matrix.go }}
version: "2025.1" # see https://github.com/dominikh/go-tools/releases
install-go: false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ docker-compose-private.yml
static/bundle/css
static/bundle/js
docs
static/swagger
node_modules
.vscode
webassembly
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The dockerfile is currently still WIP and might be broken
FROM golang:1.21.12 AS build-env
FROM golang:1.23.5 AS build-env
COPY go.mod go.sum /src/
WORKDIR /src
RUN go mod download
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ test:
explorer:
rm -rf bin/
mkdir -p bin/
echo "Creating frontend asset bundle..."
go run cmd/bundle/main.go
go install github.com/swaggo/swag/cmd/swag@v1.8.3 && swag init --exclude bin,_gitignore,.vscode,.idea --parseDepth 1 -g ./handlers/api.go
echo "Generating swagger docs..."
mkdir -p static/swagger/
go install github.com/swaggo/swag/cmd/swag@v1.8.3
swag init --exclude bin,_gitignore,.vscode,.idea --parseDepth 1 -g ./handlers/api.go --outputTypes json --output static/swagger/ --parseDependency --parseInternal
echo "Building explorer..."
CGO_CFLAGS=${CGO_CFLAGS} CGO_CFLAGS_ALLOW=${CGO_CFLAGS_ALLOW} go build --ldflags=${LDFLAGS} -o bin/explorer cmd/explorer/main.go

stats:
Expand Down
12 changes: 11 additions & 1 deletion cmd/eth1indexer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,14 @@ func main() {
}()
}

if utils.Config.Chain.PectraWithdrawalRequestContractAddress == "" {
utils.LogFatal(nil, "missing config pectraWithdrawalRequestContractAddress, please provide via explorer config", 0)
}

if utils.Config.Chain.PectraConsolidationRequestContractAddress == "" {
utils.LogFatal(nil, "missing config pectraConsolidationRequestContractAddress, please provide via explorer config", 0)
}

db.MustInitDB(&types.DatabaseConfig{
Username: cfg.WriterDatabase.Username,
Password: cfg.WriterDatabase.Password,
Expand Down Expand Up @@ -199,7 +207,9 @@ func main() {
bt.TransformUncle,
bt.TransformWithdrawals,
bt.TransformEnsNameRegistered,
bt.TransformContract)
bt.TransformContract,
bt.TransformConsolidationRequests,
bt.TransformWithdrawalRequests)

cache := freecache.NewCache(100 * 1024 * 1024) // 100 MB limit

Expand Down
37 changes: 13 additions & 24 deletions cmd/explorer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"errors"
"flag"
"fmt"
"log"
"math/big"
"net/http"
"strings"
Expand All @@ -28,14 +29,10 @@ import (
"github.com/gobitfly/eth2-beaconchain-explorer/utils"
"github.com/gobitfly/eth2-beaconchain-explorer/version"

httpSwagger "github.com/swaggo/http-swagger"

"github.com/sirupsen/logrus"

_ "net/http/pprof"

_ "github.com/gobitfly/eth2-beaconchain-explorer/docs"

"github.com/gorilla/csrf"
"github.com/gorilla/mux"
_ "github.com/jackc/pgx/v5/stdlib"
Expand All @@ -57,6 +54,7 @@ func initStripe(http *mux.Router) error {

func init() {
gob.Register(types.DataTableSaveState{})
gob.Register(types.UserV1Notification(0))
}

var frontendHttpServer *http.Server
Expand All @@ -71,6 +69,7 @@ func main() {
fmt.Println(version.GoVersion)
return
}
log.SetFlags(log.LstdFlags | log.Lshortfile)

cfg := &types.Config{}
err := utils.ReadConfig(cfg, *configPath)
Expand Down Expand Up @@ -275,7 +274,7 @@ func main() {
router := mux.NewRouter()

apiV1Router := router.PathPrefix("/api/v1").Subrouter()
router.PathPrefix("/api/v1/docs/").Handler(httpSwagger.WrapHandler)
apiV1Router.HandleFunc("/docs", handlers.ApiDocs).Methods("GET")
apiV1Router.HandleFunc("/latestState", handlers.ApiLatestState).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/epoch/{epoch}", handlers.ApiEpoch).Methods("GET", "OPTIONS")

Expand All @@ -288,6 +287,9 @@ func main() {
apiV1Router.HandleFunc("/slot/{slot}/proposerslashings", handlers.ApiSlotProposerSlashings).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/slot/{slot}/voluntaryexits", handlers.ApiSlotVoluntaryExits).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/slot/{slot}/withdrawals", handlers.ApiSlotWithdrawals).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/slot/{slot}/consolidation_requests", handlers.ApiSlotConsolidationRequests).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/slot/{slot}/switch_to_compounding_requests", handlers.ApiSlotSwitchToCompoundingRequests).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/slot/{slot}/deposit_requests", handlers.ApiSlotDepositRequests).Methods("GET", "OPTIONS")

// deprecated, use slot equivalents
apiV1Router.HandleFunc("/block/{slotOrHash}", handlers.ApiSlots).Methods("GET", "OPTIONS")
Expand All @@ -296,6 +298,9 @@ func main() {
apiV1Router.HandleFunc("/block/{slot}/attesterslashings", handlers.ApiSlotAttesterSlashings).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/block/{slot}/proposerslashings", handlers.ApiSlotProposerSlashings).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/block/{slot}/voluntaryexits", handlers.ApiSlotVoluntaryExits).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/block/{slot}/consolidation_requests", handlers.ApiSlotConsolidationRequests).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/block/{slot}/switch_to_compounding_requests", handlers.ApiSlotSwitchToCompoundingRequests).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/block/{slot}/deposit_requests", handlers.ApiSlotDepositRequests).Methods("GET", "OPTIONS")

apiV1Router.HandleFunc("/sync_committee/{period}", handlers.ApiSyncCommittee).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/eth1deposit/{txhash}", handlers.ApiEth1Deposit).Methods("GET", "OPTIONS")
Expand All @@ -310,6 +315,8 @@ func main() {
apiV1Router.HandleFunc("/validator/{indexOrPubkey}/execution/performance", handlers.ApiValidatorExecutionPerformance).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/validator/{indexOrPubkey}/attestations", handlers.ApiValidatorAttestations).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/validator/{indexOrPubkey}/proposals", handlers.ApiValidatorProposals).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/validator/{indexOrPubkey}/consolidation_requests", handlers.ApiValidatorConsolidationRequests).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/validator/{indexOrPubkey}/switch_to_compounding_requests", handlers.ApiValidatorSwitchToCompoundingRequests).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/validator/{indexOrPubkey}/deposits", handlers.ApiValidatorDeposits).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/validator/{indexOrPubkey}/attestationefficiency", handlers.ApiValidatorAttestationEfficiency).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/validator/{indexOrPubkey}/attestationeffectiveness", handlers.ApiValidatorAttestationEffectiveness).Methods("GET", "OPTIONS")
Expand All @@ -322,8 +329,6 @@ func main() {
apiV1Router.HandleFunc("/chart/{chart}", handlers.ApiChart).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/user/token", handlers.APIGetToken).Methods("POST", "OPTIONS")
apiV1Router.HandleFunc("/dashboard/data/allbalances", handlers.DashboardDataBalanceCombined).Methods("GET", "OPTIONS") // consensus & execution
apiV1Router.HandleFunc("/dashboard/data/balances", handlers.DashboardDataBalance).Methods("GET", "OPTIONS") // new app versions
apiV1Router.HandleFunc("/dashboard/data/balance", handlers.APIDashboardDataBalance).Methods("GET", "OPTIONS") // old app versions
apiV1Router.HandleFunc("/dashboard/data/proposals", handlers.DashboardDataProposals).Methods("GET", "OPTIONS")
apiV1Router.HandleFunc("/stripe/webhook", handlers.StripeWebhook).Methods("POST")
apiV1Router.HandleFunc("/stats/{apiKey}/{machine}", handlers.ClientStatsPostOld).Methods("POST", "OPTIONS")
Expand Down Expand Up @@ -472,7 +477,6 @@ func main() {
router.HandleFunc("/validator/{pubkey}/name", handlers.SaveValidatorName).Methods("POST")
router.HandleFunc("/watchlist/add", handlers.UsersModalAddValidator).Methods("POST")
router.HandleFunc("/validator/{pubkey}/remove", handlers.UserValidatorWatchlistRemove).Methods("POST")
router.HandleFunc("/validator/{index}/stats", handlers.ValidatorStatsTable).Methods("GET")
router.HandleFunc("/validators", handlers.Validators).Methods("GET")
router.HandleFunc("/validators/data", handlers.ValidatorsData).Methods("GET")
router.HandleFunc("/validators/slashings", handlers.ValidatorsSlashings).Methods("GET")
Expand All @@ -490,18 +494,10 @@ func main() {
router.HandleFunc("/validators/included-deposits", handlers.Eth2Deposits).Methods("GET") // deprecated, will redirect to /validators/deposits
router.HandleFunc("/validators/included-deposits/data", handlers.Eth2DepositsData).Methods("GET")

router.HandleFunc("/heatmap", handlers.Heatmap).Methods("GET")

router.HandleFunc("/dashboard", handlers.Dashboard).Methods("GET")
router.HandleFunc("/dashboard/save", handlers.UserDashboardWatchlistAdd).Methods("POST")

router.HandleFunc("/dashboard/data/allbalances", handlers.DashboardDataBalanceCombined).Methods("GET")
router.HandleFunc("/dashboard/data/proposals", handlers.DashboardDataProposals).Methods("GET")
router.HandleFunc("/dashboard/data/proposalshistory", handlers.DashboardDataProposalsHistory).Methods("GET")
router.HandleFunc("/dashboard/data/validators", handlers.DashboardDataValidators).Methods("GET")
router.HandleFunc("/dashboard/data/withdrawal", handlers.DashboardDataWithdrawals).Methods("GET")
router.HandleFunc("/dashboard/data/effectiveness", handlers.DashboardDataEffectiveness).Methods("GET")
router.HandleFunc("/dashboard/data/earnings", handlers.DashboardDataEarnings).Methods("GET")

router.HandleFunc("/graffitiwall", handlers.Graffitiwall).Methods("GET")
router.HandleFunc("/calculator", handlers.StakingCalculator).Methods("GET")
router.HandleFunc("/search", handlers.Search).Methods("POST")
Expand Down Expand Up @@ -536,9 +532,6 @@ func main() {
// confirming the email update should not require auth
router.HandleFunc("/settings/email/{hash}", handlers.UserConfirmUpdateEmail).Methods("GET")
router.HandleFunc("/gitcoinfeed", handlers.GitcoinFeed).Methods("GET")
router.HandleFunc("/rewards", handlers.ValidatorRewards).Methods("GET")
router.HandleFunc("/rewards/hist", handlers.RewardsHistoricalData).Methods("GET")
router.HandleFunc("/rewards/hist/download", handlers.DownloadRewardsHistoricalData).Methods("GET")

router.HandleFunc("/notifications/unsubscribe", handlers.UserNotificationsUnsubscribeByHash).Methods("GET")

Expand Down Expand Up @@ -600,10 +593,6 @@ func main() {
authRouter.HandleFunc("/subscriptions/data", handlers.UserSubscriptionsData).Methods("GET")
authRouter.HandleFunc("/generateKey", handlers.GenerateAPIKey).Methods("POST")
authRouter.HandleFunc("/ethClients", handlers.EthClientsServices).Methods("GET")
authRouter.HandleFunc("/rewards", handlers.ValidatorRewards).Methods("GET")
authRouter.HandleFunc("/rewards/subscribe", handlers.RewardNotificationSubscribe).Methods("POST")
authRouter.HandleFunc("/rewards/unsubscribe", handlers.RewardNotificationUnsubscribe).Methods("POST")
authRouter.HandleFunc("/rewards/subscriptions/data", handlers.RewardGetUserSubscriptions).Methods("POST")
authRouter.HandleFunc("/webhooks", handlers.NotificationWebhookPage).Methods("GET")
authRouter.HandleFunc("/webhooks/add", handlers.UsersAddWebhook).Methods("POST")
authRouter.HandleFunc("/webhooks/{webhookID}/update", handlers.UsersEditWebhook).Methods("POST")
Expand Down
Loading