diff --git a/chainio/clients/elcontracts/types.go b/chainio/clients/elcontracts/types.go index 6946f580..3160865e 100644 --- a/chainio/clients/elcontracts/types.go +++ b/chainio/clients/elcontracts/types.go @@ -85,12 +85,12 @@ type RemovePendingAdminRequest struct { WaitForReceipt bool } +// TxOption represents a Ethereum transaction option. type TxOption struct { Opts *bind.TransactOpts } // OperatorRequest represents a request that requires an operator's address. -// If `BlockNumber` is nil, the latest block will be used type OperatorRequest struct { BlockNumber *big.Int Operator types.Operator @@ -98,25 +98,20 @@ type OperatorRequest struct { } // OperatorMetadataRequest represents a request that updates operator metadata. -// If `BlockNumber` is nil, the latest block will be used type OperatorMetadataRequest struct { - BlockNumber *big.Int OperatorAddress common.Address Uri string WaitForReceipt bool } // DepositRequest represents a request to deposit funds into a strategy. -// If `BlockNumber` is nil, the latest block will be used type DepositRequest struct { - BlockNumber *big.Int StrategyAddress common.Address Amount *big.Int WaitForReceipt bool } // ClaimerRequest represents a request to set a claimer -// If `BlockNumber` is nil, the latest block will be used type ClaimerRequest struct { BlockNumber *big.Int ClaimerAddress common.Address @@ -124,7 +119,6 @@ type ClaimerRequest struct { } // ClaimProcessRequest represents a request to process a claim for rewards. -// If `BlockNumber` is nil, the latest block will be used type ClaimProcessRequest struct { BlockNumber *big.Int Claim rewardscoordinator.IRewardsCoordinatorTypesRewardsMerkleClaim @@ -140,9 +134,7 @@ type ClaimsProcessRequest struct { } // OperatorAVSSplitRequest represents a request to set an operator's AVS split. -// If `BlockNumber` is nil, the latest block will be used type OperatorAVSSplitRequest struct { - BlockNumber *big.Int OperatorAddress common.Address AVSAddress common.Address Split uint16 @@ -150,9 +142,7 @@ type OperatorAVSSplitRequest struct { } // OperatorPISplitRequest represents a request to set an operator's Programmatic Incentive split. -// If `BlockNumber` is nil, the latest block will be used type OperatorPISplitRequest struct { - BlockNumber *big.Int OperatorAddress common.Address Split uint16 WaitForReceipt bool