aligned_layer
aligned_layer copied to clipboard
feat(explorer): add operators and restakings
Changes
[!CAUTION]
pnpm is now a requirement for running the explorer Runmake explorer_fetch_old_operators_strategies_restakesto show operators and restakings data
- ~~merge after #617~~
- [feat] add views to see existing aligned operators in table format with data from the various eigenlayer contracts
- [feat] add detail view to see operator data in detail with restaked assets
- [feat] add view to see assets restaked
- [feat] add detail view to see restaked asset data in detail
- [feat] a tooltip js library was added that needs pnpm, the step is added in the new makefile so pnpm is now a requirement for the explorer to run
- [style] add css animations to UI elements improving the look and feel with motion
- [fix] ensure socket is connected before subscribing to pubsub in order to avoid multiple connections
- [fix] remove @alignedlayer from navbar, add docs link instead
- [feat] add hamburger menu for mobile navbar
🆕 Scripts
This script should be run in order for this PR to work.
make explorer_fetch_old_operators_strategies_restakes
New tables added
Read more about the EigenLayer architecture here.
New Views
Changes to gas cost
Generated at commit: 1d89647bbceb3cb31eb6e796f43dedb8e02ab879, compared to commit: 8f4e08d6d5d8775b953b376612ef044648c7286d
🧾 Summary (10% most significant diffs)
| Contract | Method | Avg (+/-) | % |
|---|---|---|---|
| IndexRegistry | initializeQuorum | -24 ✅ | -0.05% |
| BLSApkRegistryHarness | initializeQuorum | -24 ✅ | -0.05% |
Full diff report 👇
| Contract | Deployment Cost (+/-) | Method | Min (+/-) | % | Avg (+/-) | % | Median (+/-) | % | Max (+/-) | % | # Calls (+/-) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| IndexRegistry | 1,103,762 (+26,517) | initializeQuorum | 45,068 (-24) | -0.05% | 45,068 (-24) | -0.05% | 45,068 (-24) | -0.05% | 45,068 (-24) | -0.05% | 192 (0) |
| BLSApkRegistryHarness | 1,867,561 (+40,947) | initializeQuorum | 45,210 (-24) | -0.05% | 45,210 (-24) | -0.05% | 45,210 (-24) | -0.05% | 45,210 (-24) | -0.05% | 192 (0) |
| RegistryCoordinatorHarness | 5,830,549 (-1,536) | initialize | 54,751,420 (-13,825) | -0.03% | 54,751,420 (-13,825) | -0.03% | 54,751,420 (-13,825) | -0.03% | 54,751,420 (-13,825) | -0.03% | 1 (0) |
| ProxyAdmin | 443,175 (0) | upgradeAndCall | 55,317,163 (-13,825) | -0.02% | 55,317,163 (-13,825) | -0.02% | 55,317,163 (-13,825) | -0.02% | 55,317,163 (-13,825) | -0.02% | 1 (0) |
| StakeRegistryHarness | 3,225,694 (+296,961) | initializeQuorum | 143,154 (-24) | -0.02% | 162,950 (-24) | -0.01% | 163,054 (-24) | -0.01% | 163,054 (-24) | -0.01% | 192 (0) |
| ServiceManagerMock | 1,628,122 (-1,746) | ||||||||||
| AlignedLayerServiceManager | 4,359,240 (-6,464) |