@@ -3,7 +3,6 @@ package client
33import (
44 "fmt"
55
6- "github.com/ethereum/go-ethereum/common"
76 "github.com/rocket-pool/node-manager-core/api/client"
87 "github.com/rocket-pool/node-manager-core/api/types"
98 "github.com/rocket-pool/smartnode/shared/types/api"
@@ -87,21 +86,3 @@ func (r *NetworkRequester) Stats() (*types.ApiResponse[api.NetworkStatsData], er
8786func (r * NetworkRequester ) TimezoneMap () (* types.ApiResponse [api.NetworkTimezonesData ], error ) {
8887 return client .SendGetRequest [api.NetworkTimezonesData ](r , "timezone-map" , "TimezoneMap" , nil )
8988}
90-
91- // Initialize voting so the node can vote on Protocol DAO proposals
92- func (r * NetworkRequester ) InitializeVoting () (* types.ApiResponse [api.NetworkInitializeVotingData ], error ) {
93- return client .SendGetRequest [api.NetworkInitializeVotingData ](r , "initialize-voting" , "InitializeVoting" , nil )
94- }
95-
96- // Set the delegate for voting on Protocol DAO proposals
97- func (r * NetworkRequester ) SetVotingDelegate (delegate common.Address ) (* types.ApiResponse [types.TxInfoData ], error ) {
98- args := map [string ]string {
99- "delegate" : delegate .Hex (),
100- }
101- return client .SendGetRequest [types.TxInfoData ](r , "voting-delegate/set" , "SetVotingDelegate" , args )
102- }
103-
104- // Get the address that's assigned as the delegate for voting on Protocol DAO proposals
105- func (r * NetworkRequester ) GetCurrentVotingDelegate () (* types.ApiResponse [api.NetworkCurrentVotingDelegateData ], error ) {
106- return client .SendGetRequest [api.NetworkCurrentVotingDelegateData ](r , "voting-delegate" , "GetCurrentVotingDelegate" , nil )
107- }
0 commit comments