Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
966 commits
Select commit Hold shift + click to select a range
f36a914
Added RPL withdrawal address to NodeDetails
jclapis Oct 19, 2023
1f4f845
Added views for individual rewards percentages
jclapis Oct 25, 2023
90d1d2e
Added backwards compatibility for Atlas and a Houston version check
jclapis Oct 25, 2023
e8df2c7
Remove last reportable block.
0xfornax Oct 26, 2023
644fd4d
Change frequency to epochs.
0xfornax Oct 30, 2023
ea3bfa4
Add interval epochs.
0xfornax Oct 31, 2023
adb4277
Adding the slotTimestamp
0xfornax Nov 1, 2023
d8fee46
Fetch price/balances update events
0xfornax Nov 1, 2023
1d750b9
Fix BalancesUpdatedEvent
0xfornax Nov 1, 2023
0405b97
Using old addresses to fetch the last event
0xfornax Nov 2, 2023
a9eae41
Epochs -> frequency
0xfornax Nov 3, 2023
590109d
Fix tests
0xfornax Nov 6, 2023
a1385e5
Adding v1.2.0 to the version manager
0xfornax Nov 7, 2023
6ea266d
Updated pDAO proposal bindings
jclapis Nov 8, 2023
a439ca9
Minor cleanup
jclapis Nov 8, 2023
f75d921
Add encoded abis
0xfornax Nov 10, 2023
987f627
Get contracts using legacy address
0xfornax Nov 10, 2023
03d0865
Using isHoustonDeployed to load state
0xfornax Nov 10, 2023
274e78c
Search for event only from the current address
0xfornax Nov 10, 2023
1f24217
Added rocketDAOProtocolProposal
jclapis Nov 14, 2023
fca34dd
Implemented the security DAO bindings
jclapis Nov 15, 2023
9fba73e
Started redoing voting trees
jclapis Nov 15, 2023
ae3ac41
Merge remote-tracking branch 'origin/houston' into balance-price-timing
0xfornax Nov 15, 2023
0e8a9a7
Fixed some voting tree bugs
jclapis Nov 15, 2023
f123344
Merge remote-tracking branch 'origin/houston' into balance-price-timing
0xfornax Nov 16, 2023
9019293
Houston credit and balance functions
0xfornax Nov 17, 2023
0dba8a0
Moved the voting tree stuff out of the go lib
jclapis Nov 19, 2023
b76541b
Merge branch 'balance-price-timing' into stake-eth-on-behalf
0xfornax Nov 19, 2023
9f3f61c
Removed NodeInfoSnapshot
jclapis Nov 20, 2023
e0f2cf7
Add withdrawEth functions
0xfornax Nov 20, 2023
f4945dd
Added pDAO proposal retrieval to the state utils
jclapis Nov 20, 2023
e44f268
Add missing param
0xfornax Nov 21, 2023
2b498ce
Verifier events now accept multiple proposal IDs
jclapis Nov 21, 2023
d1dd777
Updated CreateChallenge and SubmitRoot
jclapis Nov 21, 2023
0c0ddb1
Added GetNode() to Verifier
jclapis Nov 21, 2023
2f9e69b
Dont update Houston deprecated field
0xfornax Nov 21, 2023
78d6d6c
Dont update deprecated field
0xfornax Nov 21, 2023
d54f38a
Added security council proposal methods
jclapis Nov 22, 2023
0a1b30f
Added rocketDAOProtocolSettingsSecurity
jclapis Nov 22, 2023
797b96c
Fixed some naming
jclapis Nov 22, 2023
c56a05e
Removed some extra params
jclapis Nov 22, 2023
a9a7471
Fix address check
0xfornax Nov 23, 2023
cd804e9
Merge pull request #18 from rocket-pool/stake-eth-on-behalf
0xfornax Nov 23, 2023
13a229d
Prices/balances frequency as duration
0xfornax Nov 23, 2023
f50dcf1
Remove old methods to get vote participation
0xfornax Nov 23, 2023
2c9e031
Fix missing totalEth
0xfornax Nov 25, 2023
081daca
Added pDAO bond claimers
jclapis Nov 26, 2023
2b5df97
Changed pDAO proposal details from blocks to timestamps
jclapis Nov 26, 2023
6086974
Added GetProposalBonds and GetMultiChallengeStatesFast
jclapis Nov 26, 2023
657734a
Added prop bonds to proposal details
jclapis Nov 26, 2023
c0486ad
Updated proposal details views
jclapis Nov 27, 2023
dbcccc5
Added DefeatProposal
jclapis Nov 27, 2023
3035821
Add the nodeAddress to withdrawRPL
0xfornax Nov 27, 2023
8bd6277
Add SetRPLLockingAllowed
0xfornax Nov 28, 2023
c4922cb
Fix return for GetRPLLockedAllowed
0xfornax Nov 28, 2023
4b93f73
Fix bool return
0xfornax Nov 28, 2023
632d705
Added rocketClaimDAO
jclapis Dec 12, 2023
97b510f
getVotePhase1Time and getVotePhase2Time
0xfornax Dec 20, 2023
fe1608a
Vote Phase1 and Phase2 for security council
0xfornax Dec 20, 2023
4028cf6
Added GetDepthPerRound()
jclapis Dec 20, 2023
a9d556b
Fixed pDAO proposal simulation
jclapis Dec 20, 2023
008e4a2
Fixed some proposal ID serialization
jclapis Dec 20, 2023
b19303d
Renamed contract methods
jclapis Dec 20, 2023
62d9c87
Fixed a missing ID conversion
jclapis Dec 20, 2023
0f30440
Fixed more type conversions
jclapis Dec 20, 2023
6f0632d
Fix vote time for security council
0xfornax Dec 20, 2023
a3a740d
Fixed pDAO proposal ID and payload string
jclapis Dec 21, 2023
9b851ed
Merge branch 'houston' of github.com:rocket-pool/rocketpool-go into h…
jclapis Dec 21, 2023
51a197f
Fix cannot unmarshal uint8 in to types.ChallengeState
0xfornax Dec 21, 2023
f08eb60
Added raw getters to pDAO settings
jclapis Dec 21, 2023
92caa06
Merge branch 'houston' of github.com:rocket-pool/rocketpool-go into h…
jclapis Dec 21, 2023
565fff0
Fix uint8 pointer
0xfornax Dec 21, 2023
9fedcb2
Fixed a contract method name
jclapis Dec 21, 2023
cdc46ce
Merge branch 'houston' of github.com:rocket-pool/rocketpool-go into h…
jclapis Dec 21, 2023
066487c
Fix error to unmarshal struct
0xfornax Dec 21, 2023
b2edff2
Using json
0xfornax Dec 21, 2023
fff94c2
debugging
0xfornax Dec 23, 2023
a887977
.
0xfornax Dec 23, 2023
4a2c78d
Fix: geth was failing to populate the Hash field
0xfornax Dec 24, 2023
422aff2
Fixed event collection for the verifier
jclapis Jan 28, 2024
1968764
GetMultiChallengeStatesFast now gets the latest block number if opts …
jclapis Jan 29, 2024
40bfb7e
Fixed an unmarshal cast
jclapis Jan 29, 2024
7c2c01a
Fix to search old verifier contract addresses
0xfornax Jan 31, 2024
41fd71b
Add verifierAddresses check for the current address
0xfornax Feb 6, 2024
b139955
Fix use big.Int instead of uint64
0xfornax Feb 7, 2024
d9b02e2
Fix RplRewardsPercentages ABI
0xfornax Feb 12, 2024
8a8fe35
Fix RplRewardsPercentages abi
0xfornax Feb 12, 2024
4ae8993
Update the claims periods setting path
0xfornax Feb 15, 2024
1b8a09d
Fix param path
0xfornax Feb 15, 2024
c9d6b4d
Fix interval periods setting path.
0xfornax Feb 22, 2024
d53e1ec
Removing actions the sec council cannot perform.
0xfornax Mar 12, 2024
ae62394
Remove propose kick from sec council.
0xfornax Mar 12, 2024
f3ab46b
Migrate to common.BytesToHash from deprecated address.Hash()
jshufro Mar 17, 2024
e7b318c
Merge pull request #19 from jshufro/jms/bytestohash
0xfornax Mar 17, 2024
9ec9754
Fixed SC proposals to use namespaces instead of contract names
jclapis Mar 21, 2024
c7a32cb
Merge branch 'master' into houston
jclapis Mar 24, 2024
3bc252f
fix auction.lot.duration data type
thomaspanf Mar 25, 2024
98a1980
Merge pull request #20 from rocket-pool/tpan-feat
jclapis Mar 25, 2024
6ac0519
Convert more deprecated calls to common.Address.Hash()
jshufro Apr 4, 2024
cc2eea4
Merge pull request #21 from jshufro/jms/bytestohash
0xfornax Apr 4, 2024
8f300a6
Merge remote-tracking branch 'origin/master' into houston
0xfornax Apr 9, 2024
da70ba6
Using initialiseVoting with a param
0xfornax Apr 16, 2024
0062b73
Update initializeVoting after contract changes
0xfornax Apr 17, 2024
8f2035e
Merge pull request #24 from rocket-pool/houston
0xfornax May 6, 2024
aaed8db
Add initialiseVotingWithDelegate
0xfornax May 6, 2024
28c96a3
Add EstimateInitializeVotingGas
0xfornax May 6, 2024
13fe233
Fix InitializeVotingWithDelegate
0xfornax May 6, 2024
866ffef
Add pDAO cancel proposal.
0xfornax May 13, 2024
f2ee685
Add the missing DAO field to protocol proposals.
0xfornax May 14, 2024
6971ae4
pdao proposals can't be cancelled.
0xfornax May 14, 2024
0a0e0a3
Remove isHoustonDeployed checks
0xfornax Jun 18, 2024
783b866
Merge pull request #26 from rocket-pool/remove-is-houston-deployed-ch…
0xfornax Jun 18, 2024
a1f7c63
WeiToEth nil check
0xfornax Jul 4, 2024
5d09c0c
Merge pull request #27 from rocket-pool/wei-to-eth-nil-check
0xfornax Jul 5, 2024
8eeef13
Add Houston 1.3.1 Hotfix to version-checker.go
thomaspanf Aug 26, 2024
025f78e
Merge pull request #30 from rocket-pool/1.3.1-version-checker
0xfornax Sep 3, 2024
7b6894d
Balances block as uint64
0xfornax Oct 9, 2024
e8ce1e2
Remove unused function parameters from state query logic
jshufro Sep 26, 2024
ea7d71b
Add json field names for NetworkState dependencies
jshufro Sep 26, 2024
639dfda
Merge pull request #32 from jshufro/jms/serializablestate
0xfornax Oct 11, 2024
98b7d25
Make CalculateAverageFeeAndDistributorShares a receiver
jshufro Nov 1, 2024
14d9c1f
Move GetRewardsIndex to package root
jshufro Nov 3, 2024
9e33b8a
Move some logic to rocketpool-go from smartnode
jshufro Nov 3, 2024
784150a
Add bonus commission eligibility checks, remove minipool score tabula…
jshufro Nov 22, 2024
c5f2be1
Merge pull request #33 from jshufro/jms/serializablestate
0xfornax Nov 22, 2024
ee67229
wip
0xfornax Dec 3, 2024
d13918d
Continued work on v1.4 bindings
thomaspanf Dec 11, 2024
ce6fe0c
Added gas estimator calls
thomaspanf Dec 12, 2024
cd2017b
Added bindings for rocketNodeStaking and rocketNodeManager
thomaspanf Dec 12, 2024
8d3ab0d
RocketNodeDeposit and LinkedListStorage bindings
thomaspanf Dec 16, 2024
e1dcbd9
Add beaconStateVerifier bindings
thomaspanf Dec 17, 2024
afc371e
Remove salt and expected minipool address from deposit
0xfornax Dec 17, 2024
b36dd6e
Merge remote-tracking branch 'origin/master' into saturn
0xfornax Dec 17, 2024
fee1963
Add legacy v1.3.1
0xfornax Dec 17, 2024
88e4c1f
Bool pointer
0xfornax Dec 17, 2024
eca37b0
Add Saturn 1 to version checker
0xfornax Dec 17, 2024
2ded980
GetWithdrawalCredentials as common.Hash
0xfornax Dec 19, 2024
91c9b2f
Fix interface
0xfornax Dec 19, 2024
11d0351
Added megapool encodedABI
0xfornax Dec 19, 2024
40d6897
Add GetRocketDepositPoolVersion
0xfornax Dec 19, 2024
1fa6fd0
Fix GetMegapoolExpectedAddress
0xfornax Dec 19, 2024
b678db1
Fix megapool types
0xfornax Dec 20, 2024
e1c8986
Add exitQueue
0xfornax Jan 9, 2025
915873f
Add RocketMegapoolProxy calls
thomaspanf Jan 10, 2025
2d33a5f
Add express queue DAO params
0xfornax Jan 10, 2025
c34feb5
Merge branch 'saturn' of github.com:rocket-pool/rocketpool-go into sa…
0xfornax Jan 10, 2025
0bc1d7d
Rename expressQueue functions
0xfornax Jan 12, 2025
dc2837e
Change return type
0xfornax Jan 12, 2025
d723bc2
Rename
0xfornax Jan 12, 2025
6d9c09f
Add GetDelegate and SetUseLatestDelegate
thomaspanf Jan 14, 2025
44a357f
Add GetUseLatestDelegate
thomaspanf Jan 15, 2025
cea7894
Include RocketMegapoolProxy and RocketMegapoolDelegate in Encoded Abi
thomaspanf Jan 15, 2025
30257e0
Add megapool delegateUpgrade
thomaspanf Jan 15, 2025
d008379
Added GetQueueTop
0xfornax Jan 16, 2025
546b868
Added a boolean to GetQueueTop return type
0xfornax Jan 16, 2025
1209a4b
Add assignMegapools
0xfornax Jan 16, 2025
c17d396
Add estimateAssignMegapool
0xfornax Jan 16, 2025
546c291
validator index as big.Int
0xfornax Jan 16, 2025
4b076f6
Add GetValidaotInfo
thomaspanf Jan 21, 2025
f210dad
Add RocketMegapoolFactory contract
0xfornax Jan 22, 2025
4636afa
Use unpackIntoInterface
0xfornax Jan 22, 2025
77fa0c1
Add proof to the estimate call
0xfornax Jan 27, 2025
b4d316d
Fix interface
0xfornax Jan 27, 2025
2597126
Export ValidatorProof struct
0xfornax Jan 27, 2025
8bdaaab
Fix capital letters
0xfornax Jan 27, 2025
7b49ba5
Fix node detail multicall
thomaspanf Jan 28, 2025
edf39bf
Add missing stake param
0xfornax Jan 28, 2025
3697d3f
Merge branch 'saturn' of github.com:rocket-pool/rocketpool-go into sa…
0xfornax Jan 28, 2025
eacd8e2
Fix big int args
0xfornax Jan 29, 2025
8865a33
update ValidatorInfo interface
thomaspanf Jan 30, 2025
24d744a
Init RocketNetworkRevenues bindings
thomaspanf Feb 3, 2025
271d34d
Add GetLastDistributionBlock, update GetValidatorInfo interface
thomaspanf Feb 4, 2025
13b3eab
Add GetDelegateExpired binding
thomaspanf Feb 6, 2025
583d596
New ABI
0xfornax Feb 6, 2025
d1d32cf
Megapool manager
0xfornax Feb 6, 2025
c1ee548
Add GetAllMegapoolValidators
0xfornax Feb 7, 2025
5ee5152
Add abi details to RevenueSlit
0xfornax Feb 10, 2025
20d489f
Add withdraw credit
0xfornax Feb 10, 2025
e340a44
Adds checks if saturn is deployed
0xfornax Feb 11, 2025
b622370
Add HeadMovedBlock
0xfornax Feb 11, 2025
5022086
Add AssignDeposits to legacy v131
0xfornax Feb 11, 2025
3bdd423
Add helper for grabbing the queue position
thomaspanf Feb 11, 2025
ec1f542
Merge branch 'saturn' of github.com:rocket-pool/rocketpool-go into sa…
thomaspanf Feb 11, 2025
a91b1be
Remove AssignMegapools
0xfornax Feb 11, 2025
741edcd
Add GetTotalQueueLength
0xfornax Feb 12, 2025
9f4f50a
Merge branch 'saturn' of github.com:rocket-pool/rocketpool-go into sa…
0xfornax Feb 12, 2025
ad79c50
Fix ptr
0xfornax Feb 12, 2025
e671c11
GetValidatorInfo from mpManager now working - see comments for details
0xfornax Feb 12, 2025
3c04da8
Add standard/express queue length
0xfornax Feb 13, 2025
597b79c
Add CalculatePendingRewards and CalculateRewards
thomaspanf Feb 17, 2025
4410642
Rename 'chunk' to 'slice' and improve error message in Scan
thomaspanf Feb 17, 2025
5b38484
Add GetMegapoolPubkeys
0xfornax Feb 17, 2025
159335e
Add NativeMegapoolDetails
0xfornax Feb 18, 2025
b3c66ca
Fix loop value capture
0xfornax Feb 19, 2025
270925a
Update megapool encoded abi and added GetActiveValidatorCount binding
thomaspanf Feb 20, 2025
4692751
Add EstimateDistribute and Distribute
0xfornax Mar 10, 2025
51fa7bb
Add functions to interface
0xfornax Mar 10, 2025
819230b
Add NotifyExit
0xfornax Mar 19, 2025
c943437
Add NotifyExit to the interface
0xfornax Mar 19, 2025
50776cc
Fix name
0xfornax Mar 19, 2025
d279c20
Adjust return type
0xfornax Mar 19, 2025
4696997
Remove NodeCapital
thomaspanf Mar 24, 2025
8cdf187
Add bindings for getExitingValidatorCount and getSoonestWithdrawableE…
thomaspanf Mar 24, 2025
141fa81
Add new fields to ValidatorInfo struct
thomaspanf Mar 24, 2025
3d1be70
Add bindings and update interface for NotifyFinalBalance
thomaspanf Mar 25, 2025
4423b23
Update Withdrawal type to match beacon chain spec
thomaspanf Mar 26, 2025
b9e89e4
Update Stake and EstimateStakeGas signature
thomaspanf Mar 26, 2025
1b64248
Add ClaimRefund
0xfornax Apr 4, 2025
8aadbd8
Add ClaimRefund to interface
0xfornax Apr 4, 2025
80e4fd3
Add NodeComissionShareSecurityCouncilAdder
0xfornax Apr 4, 2025
d1cf1d4
Fix estimate function name
0xfornax Apr 4, 2025
3f7df25
Add reduceBond function
0xfornax Apr 7, 2025
9200a03
Add ActiveValidatorCount to getNodeMegapoolDetails
0xfornax Apr 8, 2025
b773578
Add megapool Penalise
0xfornax Apr 15, 2025
29d33b2
Remove penalise from interface
0xfornax Apr 15, 2025
25919fb
Update megapool encoded abi, add WithdrawableEpoch to ValidatorInfo
thomaspanf Apr 17, 2025
1b5bee8
Add fields to validator info
0xfornax Apr 26, 2025
6214253
Add AmountWithDecimalsToInt
0xfornax May 12, 2025
269ab0b
Add IntToFloatWithDecimals
0xfornax May 12, 2025
48e87a4
Rename EthToWeiWithDecimals
0xfornax May 12, 2025
403b19d
Merge branch 'master' into saturn
0xfornax May 16, 2025
b67dcbc
Searching a range of blocks and using the block as index on the query
0xfornax May 20, 2025
63de825
If the event is not found, find the next submission target anyway
0xfornax May 20, 2025
46992da
Fix lint err
0xfornax May 20, 2025
7dbff3c
Merge pull request #820 from rocket-pool/fix-querying-price-submissio…
0xfornax May 20, 2025
424b11a
format repo with goimports
jshufro May 21, 2025
f430205
Switch to go 1.21
jshufro May 21, 2025
02f1068
Merge pull request #36 from jshufro/jms/go1.21
0xfornax May 21, 2025
851c122
Merge pull request #35 from jshufro/jms/goimports
0xfornax May 21, 2025
0a40159
Move everything into bindings directory to prepare for monorepo trans…
jshufro May 21, 2025
2aed5a2
Merge remote-tracking branch 'rocketpool-go/jms/monorepo-master' into…
jshufro May 21, 2025
9f9f0dc
Remove unused files
jshufro May 21, 2025
548818d
find . -type f -exec sed -i 's#"github.com/rocket-pool/rocketpool-go#…
jshufro May 21, 2025
35dd5cb
Remove dependencies to rocketpool-go from existing go.mod
jshufro May 21, 2025
bf23faa
Merge branch 'master' into saturn
0xfornax May 21, 2025
03f32c6
Update dependencies
jshufro May 21, 2025
2dce529
Update build
jshufro May 21, 2025
2b6a267
Merge branch 'master' into saturn
0xfornax May 21, 2025
046e17e
Move everything into bindings directory to prepare for monorepo trans…
jshufro May 21, 2025
9f8e91d
Remove rocketpool-go from test ci for now
jshufro May 21, 2025
3e11705
Remove rocketpool-go from go.work.sum
jshufro May 21, 2025
bc631c9
Merge remote-tracking branch 'rocketpool-go/saturn' into jms/monorepo…
jshufro May 21, 2025
25da437
Merge branch 'master' into jms/monorepo-saturn
jshufro May 21, 2025
4f526e7
Merge branch 'jms/monorepo' into jms/monorepo-saturn
jshufro May 21, 2025
506daa2
Merge pull request #823 from jshufro/jms/monorepo-rpg-pr1
0xfornax May 21, 2025
6866f53
Run goimports
jshufro May 21, 2025
662238a
Merge pull request #824 from jshufro/jms/monorepo
0xfornax May 21, 2025
88472ed
Merge branch 'master' into jms/monorepo-saturn
jshufro May 21, 2025
d8e5409
Merge branch 'master' into jms/monorepo-saturn
jshufro May 21, 2025
df5a905
Merge branch 'saturn' into jms/monorepo-saturn
jshufro May 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Dockerfile
/rocketpool/rocketpool-daemon-darwin-arm64
/rocketpool/rocketpool-daemon-linux-arm64
.vscode-ctags
build/
build/
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ TREEGEN_TARGET_STRINGS:=$(foreach arch,$(ARCHS),${BIN_DIR}/treegen-linux-$(arch)

MODULES:=$(foreach path,$(shell find . -name go.mod),$(dir $(path)))
MODULE_GLOBS:=$(foreach module,$(MODULES),$(module)...)
TEST_GLOBS:=$(filter-out ./bindings/...,$(MODULE_GLOBS))

define rocketpool-cli-template
.PHONY: ${BIN_DIR}/rocketpool-cli-$1-$2
Expand Down Expand Up @@ -153,7 +154,7 @@ lint: $(foreach module,$(MODULES),lint-$(module))

.PHONY: test
test:
go test -test.timeout 20m $(MODULE_GLOBS)
go test -test.timeout 20m $(TEST_GLOBS)

.PHONY: clean
clean:
Expand Down
674 changes: 674 additions & 0 deletions bindings/LICENSE

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions bindings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# rocketpool-go
A Golang library for interacting with the Rocket Pool network.
Loading
Loading