Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allocation view methods #734

Open
wants to merge 73 commits into
base: slashing-magnitudes
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
68614a6
Feat/operator sets (#579)
ypatil12 Jun 26, 2024
01d4738
fix: remove unused immutable
0xClandestine Jul 9, 2024
f54b2da
chore: run `forge fmt src/contracts`
0xClandestine Jul 9, 2024
33df2be
nit: improve comments
0xClandestine Jul 9, 2024
4d673dc
refactor: remove isOperatorSetAVS mapping
0xClandestine Jul 9, 2024
7be2297
refactor: remove unused beaconChainETHStrategy constant
0xClandestine Jul 9, 2024
1665dbb
refactor: storage optimization/overhaul
0xClandestine Jul 9, 2024
9bfd91f
nit: move updateStandbyParams fn
0xClandestine Jul 9, 2024
1642ab3
fix: variable name consistency
0xClandestine Jul 10, 2024
edbbcba
chore: improve comments + naming
0xClandestine Jul 10, 2024
02f1284
feat: remove simp mode
0xClandestine Jul 11, 2024
3475bb7
refactor: rename isOperatorInOperatorSet -> isMember
0xClandestine Jul 11, 2024
47c00fc
chore: forge fmt
0xClandestine Jul 12, 2024
a7edaf9
feat: forced opset dereg
0xClandestine Jul 12, 2024
e7657c1
chore: forge fmt src/contracts
0xClandestine Jul 12, 2024
f0c280d
test: forced opset dereg
0xClandestine Jul 12, 2024
1c56728
refactor: remove OperatorSet struct
0xClandestine Jul 12, 2024
83e44d1
feat: add missing interface fns
0xClandestine Jul 15, 2024
ae9307a
feat: add missing interface fns
0xClandestine Jul 15, 2024
3c34094
feat: operator set initialization
0xClandestine Jul 16, 2024
ed3afca
test: operator set initialization
0xClandestine Jul 16, 2024
6b81f3e
feat: operator set migration; completely separate legacy and opset re…
ypatil12 Jul 22, 2024
51982d7
feat: operator commission bips (#627)
8sunyuan Jul 22, 2024
b7f1cca
fix: compiling from conflict fix
8sunyuan Jul 23, 2024
cebf94c
feat: track total members and sets (#649)
0xClandestine Aug 6, 2024
32a120c
feat: operator set rewards (#663)
ypatil12 Aug 8, 2024
b272593
feat: remove storage (#667)
ypatil12 Aug 8, 2024
2fcdeea
chore: address comments
ypatil12 Aug 8, 2024
b953e2a
chore: update gap
ypatil12 Aug 8, 2024
5607fc8
chore: bindings
ypatil12 Aug 8, 2024
5d3bc1b
fix: deployers
ypatil12 Aug 8, 2024
da7ce3b
fix: deploy config
ypatil12 Aug 8, 2024
8b162d7
fix: fix operator commission tests (#673)
8sunyuan Aug 9, 2024
13a00e7
Feat: enumerating sets operators are in (#662)
0xClandestine Aug 9, 2024
f0873d1
chore: compilation & bindings
ypatil12 Aug 12, 2024
d8a8341
build: bindings
8sunyuan Aug 15, 2024
ba0a957
fix: block m2 deregistrations for opset AVSs (#688)
ypatil12 Aug 22, 2024
e45028d
Feat: opSet -> operators enumerable Set (#714)
ypatil12 Aug 29, 2024
1012199
feat: operator commission bips (#627)
8sunyuan Jul 22, 2024
f1fe7df
feat: draft with pending todos
8sunyuan Aug 12, 2024
fa5883f
chore: rename back to checkpoints
8sunyuan Aug 12, 2024
ca85175
build: bindings
8sunyuan Aug 12, 2024
bd7fc4d
chore: add check for pending deallocations
8sunyuan Aug 12, 2024
f812f86
feat: refactor to free all opsets on allo/deallo (#680)
8sunyuan Aug 16, 2024
8888e93
feat: allocator signatures allocate/deallocate (#690)
8sunyuan Aug 16, 2024
8cdc872
feat: set allocations (#691)
8sunyuan Aug 19, 2024
0a9a66e
feat: getAllocatableMagnitude
8sunyuan Aug 20, 2024
c4110e6
build: bindings
8sunyuan Aug 20, 2024
45a5df0
feat: update to max 1 alloc/dealloc (#703)
ypatil12 Aug 23, 2024
1d9c7d9
chore: update interfaces and nits
8sunyuan Aug 24, 2024
16beded
chore: add back legacy functions
8sunyuan Aug 26, 2024
471dc07
feat: encoded operatorSet mapping keys and duplicate check (#704)
8sunyuan Aug 26, 2024
25ad55e
start on scaledShares (#695)
gpsanant Aug 27, 2024
c8997db
fix: wrong uint16 value
8sunyuan Aug 28, 2024
a21eb41
feat: simplify deallocation now that only 1 max alloc/dealloc
ypatil12 Aug 28, 2024
e70e85d
docs: add clarifying comment on not updating pending allocs on dealloc
ypatil12 Aug 28, 2024
7d07e3c
fix: compile
ypatil12 Aug 29, 2024
e47e168
chore: some changes for making deployments (#716)
shrimalmadhur Aug 30, 2024
6351c75
fix: numPendingAllocations check
8sunyuan Sep 4, 2024
65b747c
fix(optimize): condense storage
0xClandestine Sep 4, 2024
9f95d3b
chore: add missing deploy script (#725)
shrimalmadhur Sep 4, 2024
e5b375b
fix: add missing struct defintion
0xClandestine Sep 4, 2024
23dabf7
feat: refactor to staker scaling factors
8sunyuan Sep 7, 2024
2d62d43
build: bindings
8sunyuan Sep 7, 2024
192f981
chore: fmt delegationmanager
8sunyuan Sep 7, 2024
baf73ae
chore: rename to snapshots
8sunyuan Sep 9, 2024
598ec68
chore: cleanup
8sunyuan Sep 9, 2024
3668f84
feat: split allocation logic to `AllocationManager` (#730)
0xClandestine Sep 9, 2024
9d2bf91
feat: add view functions for allocations
shrimalmadhur Sep 9, 2024
1794d81
fix: fmt
shrimalmadhur Sep 9, 2024
a45139c
chore: add output of allocation mgr
shrimalmadhur Sep 9, 2024
02cc395
fix: deployment scripts
shrimalmadhur Sep 10, 2024
d88a70b
fix: address comments
shrimalmadhur Sep 10, 2024
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ InheritanceGraph.png
surya_report.md

.idea

*state.json
deployed_strategies.json
populate_src*
2,906 changes: 2,576 additions & 330 deletions pkg/bindings/AVSDirectory/binding.go

Large diffs are not rendered by default.

2,711 changes: 2,537 additions & 174 deletions pkg/bindings/AVSDirectoryStorage/binding.go

Large diffs are not rendered by default.

203 changes: 203 additions & 0 deletions pkg/bindings/Checkpoints/binding.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,969 changes: 1,969 additions & 0 deletions pkg/bindings/DelayedWithdrawalRouter/binding.go

Large diffs are not rendered by default.

579 changes: 490 additions & 89 deletions pkg/bindings/DelegationManager/binding.go

Large diffs are not rendered by default.

528 changes: 392 additions & 136 deletions pkg/bindings/DelegationManagerStorage/binding.go

Large diffs are not rendered by default.

Loading
Loading