Skip to content

Commit 6180e32

Browse files
committed
Remove blockNumber from structs
1 parent a26d120 commit 6180e32

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

chainio/clients/elcontracts/types.go

+1-11
Original file line numberDiff line numberDiff line change
@@ -85,46 +85,40 @@ type RemovePendingAdminRequest struct {
8585
WaitForReceipt bool
8686
}
8787

88+
// TxOption represents a Ethereum transaction option.
8889
type TxOption struct {
8990
Opts *bind.TransactOpts
9091
}
9192

9293
// OperatorRequest represents a request that requires an operator's address.
93-
// If `BlockNumber` is nil, the latest block will be used
9494
type OperatorRequest struct {
9595
BlockNumber *big.Int
9696
Operator types.Operator
9797
WaitForReceipt bool
9898
}
9999

100100
// OperatorMetadataRequest represents a request that updates operator metadata.
101-
// If `BlockNumber` is nil, the latest block will be used
102101
type OperatorMetadataRequest struct {
103-
BlockNumber *big.Int
104102
OperatorAddress common.Address
105103
Uri string
106104
WaitForReceipt bool
107105
}
108106

109107
// DepositRequest represents a request to deposit funds into a strategy.
110-
// If `BlockNumber` is nil, the latest block will be used
111108
type DepositRequest struct {
112-
BlockNumber *big.Int
113109
StrategyAddress common.Address
114110
Amount *big.Int
115111
WaitForReceipt bool
116112
}
117113

118114
// ClaimerRequest represents a request to set a claimer
119-
// If `BlockNumber` is nil, the latest block will be used
120115
type ClaimerRequest struct {
121116
BlockNumber *big.Int
122117
ClaimerAddress common.Address
123118
WaitForReceipt bool
124119
}
125120

126121
// ClaimProcessRequest represents a request to process a claim for rewards.
127-
// If `BlockNumber` is nil, the latest block will be used
128122
type ClaimProcessRequest struct {
129123
BlockNumber *big.Int
130124
Claim rewardscoordinator.IRewardsCoordinatorTypesRewardsMerkleClaim
@@ -140,19 +134,15 @@ type ClaimsProcessRequest struct {
140134
}
141135

142136
// OperatorAVSSplitRequest represents a request to set an operator's AVS split.
143-
// If `BlockNumber` is nil, the latest block will be used
144137
type OperatorAVSSplitRequest struct {
145-
BlockNumber *big.Int
146138
OperatorAddress common.Address
147139
AVSAddress common.Address
148140
Split uint16
149141
WaitForReceipt bool
150142
}
151143

152144
// OperatorPISplitRequest represents a request to set an operator's Programmatic Incentive split.
153-
// If `BlockNumber` is nil, the latest block will be used
154145
type OperatorPISplitRequest struct {
155-
BlockNumber *big.Int
156146
OperatorAddress common.Address
157147
Split uint16
158148
WaitForReceipt bool

0 commit comments

Comments
 (0)