feat: explorer API, wallet, CCIP scripts, and config refresh

- Backend REST/gateway/track routes, analytics, Blockscout proxy paths.
- Frontend wallet and liquidity surfaces; MetaMask token list alignment.
- Deployment docs, verification scripts, address inventory updates.

Check: go build ./... under backend/ (pass).
Made-with: Cursor
This commit is contained in:
defiQUG
2026-04-07 23:22:12 -07:00
parent d931be8e19
commit 6eef6b07f6
224 changed files with 19671 additions and 3291 deletions

View File

@@ -0,0 +1,17 @@
package track4
import (
"context"
"net/http"
httpmiddleware "github.com/explorer/backend/libs/go-http-middleware"
)
type roleManager interface {
IsIPWhitelisted(ctx context.Context, operatorAddress string, ipAddress string) (bool, error)
LogOperatorEvent(ctx context.Context, eventType string, chainID *int, operatorAddress string, targetResource string, action string, details map[string]interface{}, ipAddress string, userAgent string) error
}
func clientIPAddress(r *http.Request) string {
return httpmiddleware.ClientIP(r)
}