Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
865 commits
Select commit Hold shift + click to select a range
59fdff4
Fixed a null int bug
jclapis Feb 15, 2023
2d4f71d
Added DepositWithCredit
jclapis Feb 15, 2023
2f49aad
Added call opts to GetCurrentVersion
jclapis Feb 15, 2023
17760a9
added missing getStakingMinipoolsCount
nickdoherty Feb 16, 2023
d6ecf0f
Added CalculateCompleteMinipoolShares()
jclapis Feb 16, 2023
2c0e892
Added credit balance to nodes in the state getter
jclapis Feb 16, 2023
7b44999
Enable opts on multicall
jclapis Feb 17, 2023
629b1ee
Added GetTotalEffectiveRplStake()
jclapis Feb 17, 2023
b7b3436
More work porting over GetNetworkDetails
jclapis Feb 17, 2023
1ae542f
Finished refactoring network state
jclapis Feb 18, 2023
43130f2
Some more refactoring and version check fixes
jclapis Feb 18, 2023
9b051d7
Fixed some incorrect pointers
jclapis Feb 18, 2023
5a0744f
Fixed some uninitialized fields in NewNetworkDetails
jclapis Feb 19, 2023
d019f3c
Lowered some batch sizes for lower-power hardware
jclapis Feb 22, 2023
2c01fe5
More batch size tuning
jclapis Feb 22, 2023
6e15828
Added support for minipool v1's version checker to the minipool const…
jclapis Feb 22, 2023
763b4e9
Added the deposit type invariant getter
jclapis Feb 23, 2023
4b49c89
Added GetMinipoolDepositType
jclapis Feb 23, 2023
a5d3cfb
Updated Geth and the go version
jclapis Feb 23, 2023
42ad09c
Added getLastBondReductionPrevNodeFee
jclapis Feb 24, 2023
7f15cb4
Reverted Geth because Prysm doesn't work with v1.11
jclapis Feb 24, 2023
737923e
Added support to NewNetworkContracts for nil opts
jclapis Feb 25, 2023
8320e8b
Fixed contract version checking for minipool deposit types pre-Atlas
jclapis Feb 27, 2023
d5a6809
Added CalculateAverageFeeAndDistributorShares
jclapis Feb 28, 2023
62d9893
Reduced the batch size of effective stake calculation for Besu
jclapis Mar 22, 2023
59e4f61
Merge branch 'master' of github.com:rocket-pool/rocketpool-go
jclapis Mar 27, 2023
76c7800
Added DistributableBalance
jclapis Mar 27, 2023
27a6bc0
Updated the Distribute signature
jclapis Mar 28, 2023
748dd90
Added the new rewards event retrieval method
jclapis Mar 29, 2023
4094049
Removed duplicates of the latest rocketRewardsPool address in the eve…
jclapis Mar 30, 2023
9bc6699
Use collateralisation ratio in distributor balance calculation
kanewallmann Apr 28, 2023
2e5bd9a
Add stake RPL on behalf of
kanewallmann May 2, 2023
d05456c
Added legacy and new fee distributor calculation methods
jclapis May 2, 2023
21f9222
Merge branch 'master' into fix-distributor-calc
jclapis May 2, 2023
20b754c
Merge remote-tracking branch 'origin/stake-on-behalf'
jclapis May 3, 2023
b8077da
Added EthMatched and EthMatchedLimit to node details
jclapis May 5, 2023
bfb886d
Added revert message normalization for Nethermind
jclapis May 9, 2023
c137e2c
Add more error checking to balances multicall
jshufro May 10, 2023
a85be7a
Reduced the batch size for balance multicalls
jclapis May 11, 2023
5ed4ef6
Merge pull request #14 from jshufro/jms/balances
jclapis May 11, 2023
9e03d35
Merge branch 'master' of github.com:rocket-pool/rocketpool-go
jclapis May 11, 2023
31ce0ad
Cache decoded abis
jshufro May 11, 2023
f77fdb8
Merge pull request #15 from jshufro/jms/abicache
jclapis May 12, 2023
8ae5d50
Added a prefix to converted Nethermind errors
jclapis May 12, 2023
df05ced
Added beacon balance shares to minipool details
jclapis May 15, 2023
8229ad2
Cached the minipool ABI objects to trim rocketStorage calls and decod…
jclapis May 15, 2023
f936896
Fixed an out-of-place error check
jclapis May 15, 2023
d6338fa
Increased thread count, removed extra ABI parsing from rocketVersionI…
jclapis May 16, 2023
d5b0b67
Added minipool queue length to NetworkDetails
jclapis May 16, 2023
fb6011d
Removed Atlas checks
jclapis May 17, 2023
7b1ffb5
Finished GetRewardsEvent
jclapis May 18, 2023
21f2214
Merge branch 'master' into rolling-trees
jclapis May 18, 2023
23e1a11
Added GetNodeShare and GetUserShare to the distributor
jclapis Jun 7, 2023
ca88769
Merge branch 'master' into rolling-trees
jclapis Jun 12, 2023
3cc3264
SendTransaction now accepts a data payload
jclapis Jun 13, 2023
b186868
SendTransaction now accepts a data payload
jclapis Jun 13, 2023
19d3e5b
Merge branch 'master' into rolling-trees
jclapis Jun 13, 2023
c07b42a
Added GetTrustedNodeSubmitted
jclapis Jun 15, 2023
53f270a
Merge branch 'master' into rolling-trees
jclapis Jun 15, 2023
f60ff03
Removed CalculateAverageFeeAndDistributorShares_Legacy
jclapis Jun 15, 2023
96e8168
Merge branch 'master' into rolling-trees
jclapis Jun 19, 2023
9573ff4
Added oDAO state snapshot functions
jclapis Jun 26, 2023
58beebf
Removed an unnecessary argument
jclapis Jun 26, 2023
da0762d
Added a missing parameter
jclapis Jun 26, 2023
32f7a68
Added GetTrustedNodeSubmittedSpecificRewards()
jclapis Jul 13, 2023
2f21751
Added a simple ERC20 binding
jclapis Jul 25, 2023
bd6e1b9
Added a gas estimator for TransferFrom
jclapis Jul 25, 2023
c5292f7
Switched to transfer()
jclapis Jul 25, 2023
ffe1c71
Fixed the ERC20 ABI
jclapis Jul 25, 2023
95760eb
Changed decimals to a uint8
jclapis Jul 25, 2023
0a4cba4
Added RocketNetworkVoting
jclapis Sep 19, 2023
a93133b
Finished Pollard generation
jclapis Sep 19, 2023
dc743ef
Some voting tree fixes
jclapis Sep 19, 2023
003f3d4
Finished rocketDAOProtocolProposals
jclapis Sep 20, 2023
5cb1647
Cleaned up RewardsSnapshot deserialization
jclapis Sep 20, 2023
55e72f4
Implemented rocketDAOProtocolVerifier
jclapis Sep 20, 2023
e3553ab
Refactored the Prices / Balances utilities, removed bootstrapping
jclapis Sep 21, 2023
68d6abf
Updated settings/protocol/deposit
jclapis Sep 21, 2023
a87268d
Refactored error messages
jclapis Sep 21, 2023
a3de673
Implemented most of the pDAO proposers
jclapis Sep 21, 2023
f8b63cb
Finished settings/protocol/proposals
jclapis Sep 21, 2023
02f6ba2
Fixed a typo
jclapis Sep 22, 2023
64f96ee
Added GetProposalBlock()
jclapis Sep 25, 2023
d67067f
Changed proposal block to uint32 for consistency
jclapis Sep 25, 2023
efd8500
Removed the cooldown time setting from the pDAO
jclapis Sep 25, 2023
5c221f1
Added GetNodeRplLocked
jclapis Sep 25, 2023
b19f183
Changed pDAO propose / bootstraps to use *big.Int
jclapis Sep 26, 2023
c63ab29
Fixed a var name
jclapis Sep 26, 2023
98ed39f
Removed pDAO cancelling
jclapis Sep 28, 2023
9ccbf22
Updated ProposeSetRewardsPercentage with the new triple-percent params
jclapis Oct 3, 2023
c0011e8
Updated the rewards stuff for changing percentages
jclapis Oct 4, 2023
20ce797
Updated rocketDAOProtocolProposals with the new API
jclapis Oct 4, 2023
8267c4a
Added GetDeployBlock()
jclapis Oct 7, 2023
9226e1a
Added GetRPLInflationIntervalStartTime()
jclapis Oct 7, 2023
ac81fc3
Merge branch 'master' into houston
jclapis Oct 12, 2023
0073e82
Added execution simulation to proposals
jclapis Oct 17, 2023
b262959
Added GetChallengeState
jclapis Oct 17, 2023
806e17c
Added ConstructProposalTreeLeaves()
jclapis Oct 17, 2023
581d134
Switched voting tree gen to multicall
jclapis Oct 18, 2023
2f23ab7
Missed a file save
jclapis Oct 18, 2023
e8f106c
Added RPL withdrawal address functions
jclapis Oct 19, 2023
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
6214253
Add AmountWithDecimalsToInt
0xfornax May 12, 2025
269ab0b
Add IntToFloatWithDecimals
0xfornax May 12, 2025
48e87a4
Rename EthToWeiWithDecimals
0xfornax May 12, 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
03f32c6
Update dependencies
jshufro May 21, 2025
2dce529
Update build
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
506daa2
Merge pull request #823 from jshufro/jms/monorepo-rpg-pr1
0xfornax May 21, 2025
662238a
Merge pull request #824 from jshufro/jms/monorepo
0xfornax May 21, 2025
3c1952e
Revert "Merge pull request #826 from jshufro/jms/monorepo-saturn-2"
jshufro May 21, 2025
1f94760
Merge branch 'master' into jms/monorepo-saturn-2
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
  •  
  •  
  •  
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: 0 additions & 674 deletions bindings/LICENSE

This file was deleted.

2 changes: 0 additions & 2 deletions bindings/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion bindings/auction/auction.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"golang.org/x/sync/errgroup"

"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
)

// Settings
Expand Down
36 changes: 0 additions & 36 deletions bindings/azure-pipelines.yml

This file was deleted.

2 changes: 1 addition & 1 deletion bindings/dao/claim.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sync"

"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
)

func GetContractExists(rp *rocketpool.RocketPool, contractName string, opts *bind.CallOpts) (bool, error) {
Expand Down
4 changes: 2 additions & 2 deletions bindings/dao/proposal-payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"

"github.com/rocket-pool/rocketpool-go/rocketpool"
strutils "github.com/rocket-pool/rocketpool-go/utils/strings"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
strutils "github.com/rocket-pool/smartnode/bindings/utils/strings"
)

// Get the string representation of a proposal payload
Expand Down
8 changes: 4 additions & 4 deletions bindings/dao/proposals.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"github.com/ethereum/go-ethereum/common"
"golang.org/x/sync/errgroup"

"github.com/rocket-pool/rocketpool-go/rocketpool"
rptypes "github.com/rocket-pool/rocketpool-go/types"
"github.com/rocket-pool/rocketpool-go/utils/eth"
"github.com/rocket-pool/rocketpool-go/utils/strings"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
rptypes "github.com/rocket-pool/smartnode/bindings/types"
"github.com/rocket-pool/smartnode/bindings/utils/eth"
"github.com/rocket-pool/smartnode/bindings/utils/strings"
)

// Settings
Expand Down
2 changes: 1 addition & 1 deletion bindings/dao/protocol/dao.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/ethereum/go-ethereum/accounts/abi/bind"

"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
)

// Get contracts
Expand Down
8 changes: 4 additions & 4 deletions bindings/dao/protocol/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/rocket-pool/rocketpool-go/dao"
"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/rocketpool-go/types"
strutils "github.com/rocket-pool/rocketpool-go/utils/strings"
"github.com/rocket-pool/smartnode/bindings/dao"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
"github.com/rocket-pool/smartnode/bindings/types"
strutils "github.com/rocket-pool/smartnode/bindings/utils/strings"
"golang.org/x/sync/errgroup"
)

Expand Down
4 changes: 2 additions & 2 deletions bindings/dao/protocol/proposals.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/rocketpool-go/types"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
"github.com/rocket-pool/smartnode/bindings/types"
)

// Estimate the gas of ProposeSetMulti
Expand Down
8 changes: 4 additions & 4 deletions bindings/dao/protocol/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (

"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/rocketpool-go/types"
"github.com/rocket-pool/rocketpool-go/utils/eth"
"github.com/rocket-pool/rocketpool-go/utils/multicall"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
"github.com/rocket-pool/smartnode/bindings/types"
"github.com/rocket-pool/smartnode/bindings/utils/eth"
"github.com/rocket-pool/smartnode/bindings/utils/multicall"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion bindings/dao/security/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
)

// Estimate the gas of Join
Expand Down
4 changes: 2 additions & 2 deletions bindings/dao/security/proposals.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/rocket-pool/rocketpool-go/dao"
"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/smartnode/bindings/dao"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
)

// Estimate the gas of ProposeSetUint
Expand Down
4 changes: 2 additions & 2 deletions bindings/dao/security/security.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/rocketpool-go/utils/strings"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
"github.com/rocket-pool/smartnode/bindings/utils/strings"
"golang.org/x/sync/errgroup"
)

Expand Down
4 changes: 2 additions & 2 deletions bindings/dao/trustednode/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"

"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/rocketpool-go/utils/eth"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
"github.com/rocket-pool/smartnode/bindings/utils/eth"
)

// Estimate the gas of Join
Expand Down
4 changes: 2 additions & 2 deletions bindings/dao/trustednode/dao.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"golang.org/x/sync/errgroup"

"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/rocketpool-go/utils/strings"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
"github.com/rocket-pool/smartnode/bindings/utils/strings"
)

// Settings
Expand Down
6 changes: 3 additions & 3 deletions bindings/dao/trustednode/proposals.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"

"github.com/rocket-pool/rocketpool-go/dao"
"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/rocketpool-go/utils/strings"
"github.com/rocket-pool/smartnode/bindings/dao"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
"github.com/rocket-pool/smartnode/bindings/utils/strings"
)

// Estimate the gas of ProposeInviteMember
Expand Down
2 changes: 1 addition & 1 deletion bindings/deposit/deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"

"github.com/rocket-pool/rocketpool-go/rocketpool"
"github.com/rocket-pool/smartnode/bindings/rocketpool"
)

// Get the deposit pool balance
Expand Down
94 changes: 59 additions & 35 deletions bindings/go.mod
Original file line number Diff line number Diff line change
@@ -1,72 +1,96 @@
module github.com/rocket-pool/rocketpool-go
module github.com/rocket-pool/smartnode/bindings

go 1.21

require (
github.com/ethereum/go-ethereum v1.10.26
github.com/ethereum/go-ethereum v1.13.5
github.com/hashicorp/go-version v1.6.0
github.com/princjef/gomarkdoc v0.4.1
github.com/prysmaticlabs/go-ssz v0.0.0-20210121151755-f6208871c388
golang.org/x/sync v0.1.0
golang.org/x/sync v0.8.0
)

require (
github.com/Microsoft/go-winio v0.5.0 // indirect
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect
github.com/DataDog/zstd v1.5.5 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/VictoriaMetrics/fastcache v1.12.2 // indirect
github.com/VividCortex/ewma v1.2.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/bits-and-blooms/bitset v1.11.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
github.com/cespare/cp v1.1.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cheggaaa/pb/v3 v3.0.8 // indirect
github.com/deckarep/golang-set v1.8.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/cockroachdb/errors v1.11.1 // indirect
github.com/consensys/bavard v0.1.13 // indirect
github.com/consensys/gnark-crypto v0.12.1 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
github.com/deckarep/golang-set/v2 v2.5.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
github.com/dgraph-io/ristretto v0.1.0 // indirect
github.com/dustin/go-humanize v1.0.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/emirpasic/gods v1.12.0 // indirect
github.com/fatih/color v1.11.0 // indirect
github.com/ferranbt/fastssz v0.1.2 // indirect
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
github.com/fatih/color v1.14.1 // indirect
github.com/ferranbt/fastssz v0.1.3 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 // indirect
github.com/getsentry/sentry-go v0.25.0 // indirect
github.com/go-git/gcfg v1.5.0 // indirect
github.com/go-git/go-billy/v5 v5.3.1 // indirect
github.com/go-git/go-git/v5 v5.3.0 // indirect
github.com/go-ole/go-ole v1.2.1 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
github.com/google/go-cmp v0.5.7 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/golang/glog v1.1.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/holiman/uint256 v1.2.4 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kevinburke/ssh_config v1.1.0 // indirect
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/mattn/go-runewidth v0.0.12 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
github.com/minio/highwayhash v1.0.2 // indirect
github.com/minio/sha256-simd v1.0.0 // indirect
github.com/minio/sha256-simd v1.0.1 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.4.1 // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mmcloughlin/addchain v0.4.0 // indirect
github.com/onsi/ginkgo v1.16.5 // indirect
github.com/onsi/gomega v1.30.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/princjef/mageutil v1.0.0 // indirect
github.com/prometheus/client_golang v1.20.0 // indirect
github.com/protolambda/zssz v0.1.5 // indirect
github.com/prysmaticlabs/go-bitfield v0.0.0-20210809151128-385d8c5e3fb7 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/rjeczalik/notify v0.9.1 // indirect
github.com/prysmaticlabs/go-bitfield v0.0.0-20240328144219-a1caa50c3a1e // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/rs/cors v1.8.2 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/sergi/go-diff v1.2.0 // indirect
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
github.com/sirupsen/logrus v1.8.1 // indirect
github.com/tklauser/go-sysconf v0.3.5 // indirect
github.com/tklauser/numcpus v0.2.2 // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/stretchr/testify v1.9.0 // indirect
github.com/supranational/blst v0.3.11 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/tklauser/go-sysconf v0.3.13 // indirect
github.com/tklauser/numcpus v0.7.0 // indirect
github.com/urfave/cli/v2 v2.26.0 // indirect
github.com/x-cray/logrus-prefixed-formatter v0.5.2 // indirect
github.com/xanzy/ssh-agent v0.3.0 // indirect
golang.org/x/crypto v0.1.0 // indirect
golang.org/x/net v0.4.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/term v0.3.0 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
github.com/yusufpapurcu/wmi v1.2.3 // indirect
golang.org/x/crypto v0.26.0 // indirect
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect
golang.org/x/mod v0.20.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.24.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
mvdan.cc/xurls/v2 v2.2.0 // indirect
rsc.io/tmplfunc v0.0.3 // indirect
)
Loading
Loading