pub struct AllocationManagerInstance<P, N = Ethereum> { /* private fields */ }
Expand description
A AllocationManager
instance.
Contains type-safe methods for interacting with an on-chain instance of the
[`AllocationManager`](self) contract located at a given `address`, using a given
provider `P`.
If the contract bytecode is available (see the [`sol!`](alloy_sol_types::sol!)
documentation on how to provide it), the `deploy` and `deploy_builder` methods can
be used to deploy a new instance of the contract.
See the [module-level documentation](self) for all the available methods.
Implementations§
Source§impl<P: Provider<N>, N: Network> AllocationManagerInstance<P, N>
Instantiation and getters/setters.
impl<P: Provider<N>, N: Network> AllocationManagerInstance<P, N>
Instantiation and getters/setters.
Sourcepub const fn new(address: Address, provider: P) -> Self
pub const fn new(address: Address, provider: P) -> Self
Creates a new wrapper around an on-chain AllocationManager
contract instance.
See the [wrapper's documentation](`AllocationManagerInstance`) for more details.
Sourcepub async fn deploy(
provider: P,
_delegation: Address,
_pauserRegistry: Address,
_permissionController: Address,
_DEALLOCATION_DELAY: u32,
_ALLOCATION_CONFIGURATION_DELAY: u32,
_version: String,
) -> Result<AllocationManagerInstance<P, N>>
pub async fn deploy( provider: P, _delegation: Address, _pauserRegistry: Address, _permissionController: Address, _DEALLOCATION_DELAY: u32, _ALLOCATION_CONFIGURATION_DELAY: u32, _version: String, ) -> Result<AllocationManagerInstance<P, N>>
Deploys this contract using the given provider
and constructor arguments, if any.
Returns a new instance of the contract, if the deployment was successful.
For more fine-grained control over the deployment process, use [`deploy_builder`] instead.
Sourcepub fn deploy_builder(
provider: P,
_delegation: Address,
_pauserRegistry: Address,
_permissionController: Address,
_DEALLOCATION_DELAY: u32,
_ALLOCATION_CONFIGURATION_DELAY: u32,
_version: String,
) -> RawCallBuilder<P, N>
pub fn deploy_builder( provider: P, _delegation: Address, _pauserRegistry: Address, _permissionController: Address, _DEALLOCATION_DELAY: u32, _ALLOCATION_CONFIGURATION_DELAY: u32, _version: String, ) -> RawCallBuilder<P, N>
Creates a RawCallBuilder
for deploying this contract using the given provider
and constructor arguments, if any.
This is a simple wrapper around creating a `RawCallBuilder` with the data set to
the bytecode concatenated with the constructor's ABI-encoded arguments.
Sourcepub fn set_address(&mut self, address: Address)
pub fn set_address(&mut self, address: Address)
Sets the address.
Source§impl<P: Clone, N> AllocationManagerInstance<&P, N>
impl<P: Clone, N> AllocationManagerInstance<&P, N>
Sourcepub fn with_cloned_provider(self) -> AllocationManagerInstance<P, N>
pub fn with_cloned_provider(self) -> AllocationManagerInstance<P, N>
Clones the provider and returns a new instance with the cloned provider.
Source§impl<P: Provider<N>, N: Network> AllocationManagerInstance<P, N>
Function calls.
impl<P: Provider<N>, N: Network> AllocationManagerInstance<P, N>
Function calls.
Sourcepub fn call_builder<C: SolCall>(&self, call: &C) -> SolCallBuilder<&P, C, N>
pub fn call_builder<C: SolCall>(&self, call: &C) -> SolCallBuilder<&P, C, N>
Creates a new call builder using this contract instance’s provider and address.
Note that the call can be any function call, not just those defined in this contract. Prefer using the other methods for building type-safe contract calls.
Sourcepub fn ALLOCATION_CONFIGURATION_DELAY(
&self,
) -> SolCallBuilder<&P, ALLOCATION_CONFIGURATION_DELAYCall, N>
pub fn ALLOCATION_CONFIGURATION_DELAY( &self, ) -> SolCallBuilder<&P, ALLOCATION_CONFIGURATION_DELAYCall, N>
Creates a new call builder for the [ALLOCATION_CONFIGURATION_DELAY
] function.
Sourcepub fn DEALLOCATION_DELAY(
&self,
) -> SolCallBuilder<&P, DEALLOCATION_DELAYCall, N>
pub fn DEALLOCATION_DELAY( &self, ) -> SolCallBuilder<&P, DEALLOCATION_DELAYCall, N>
Creates a new call builder for the [DEALLOCATION_DELAY
] function.
Sourcepub fn addStrategiesToOperatorSet(
&self,
avs: Address,
operatorSetId: u32,
strategies: Vec<Address>,
) -> SolCallBuilder<&P, addStrategiesToOperatorSetCall, N>
pub fn addStrategiesToOperatorSet( &self, avs: Address, operatorSetId: u32, strategies: Vec<Address>, ) -> SolCallBuilder<&P, addStrategiesToOperatorSetCall, N>
Creates a new call builder for the [addStrategiesToOperatorSet
] function.
Sourcepub fn clearDeallocationQueue(
&self,
operator: Address,
strategies: Vec<Address>,
numToClear: Vec<u16>,
) -> SolCallBuilder<&P, clearDeallocationQueueCall, N>
pub fn clearDeallocationQueue( &self, operator: Address, strategies: Vec<Address>, numToClear: Vec<u16>, ) -> SolCallBuilder<&P, clearDeallocationQueueCall, N>
Creates a new call builder for the [clearDeallocationQueue
] function.
Sourcepub fn createOperatorSets(
&self,
avs: Address,
params: Vec<<CreateSetParams as SolType>::RustType>,
) -> SolCallBuilder<&P, createOperatorSetsCall, N>
pub fn createOperatorSets( &self, avs: Address, params: Vec<<CreateSetParams as SolType>::RustType>, ) -> SolCallBuilder<&P, createOperatorSetsCall, N>
Creates a new call builder for the [createOperatorSets
] function.
Sourcepub fn delegation(&self) -> SolCallBuilder<&P, delegationCall, N>
pub fn delegation(&self) -> SolCallBuilder<&P, delegationCall, N>
Creates a new call builder for the [delegation
] function.
Sourcepub fn deregisterFromOperatorSets(
&self,
params: <DeregisterParams as SolType>::RustType,
) -> SolCallBuilder<&P, deregisterFromOperatorSetsCall, N>
pub fn deregisterFromOperatorSets( &self, params: <DeregisterParams as SolType>::RustType, ) -> SolCallBuilder<&P, deregisterFromOperatorSetsCall, N>
Creates a new call builder for the [deregisterFromOperatorSets
] function.
Sourcepub fn getAVSRegistrar(
&self,
avs: Address,
) -> SolCallBuilder<&P, getAVSRegistrarCall, N>
pub fn getAVSRegistrar( &self, avs: Address, ) -> SolCallBuilder<&P, getAVSRegistrarCall, N>
Creates a new call builder for the [getAVSRegistrar
] function.
Sourcepub fn getAllocatableMagnitude(
&self,
operator: Address,
strategy: Address,
) -> SolCallBuilder<&P, getAllocatableMagnitudeCall, N>
pub fn getAllocatableMagnitude( &self, operator: Address, strategy: Address, ) -> SolCallBuilder<&P, getAllocatableMagnitudeCall, N>
Creates a new call builder for the [getAllocatableMagnitude
] function.
Sourcepub fn getAllocatedSets(
&self,
operator: Address,
) -> SolCallBuilder<&P, getAllocatedSetsCall, N>
pub fn getAllocatedSets( &self, operator: Address, ) -> SolCallBuilder<&P, getAllocatedSetsCall, N>
Creates a new call builder for the [getAllocatedSets
] function.
Sourcepub fn getAllocatedStake(
&self,
operatorSet: <OperatorSet as SolType>::RustType,
operators: Vec<Address>,
strategies: Vec<Address>,
) -> SolCallBuilder<&P, getAllocatedStakeCall, N>
pub fn getAllocatedStake( &self, operatorSet: <OperatorSet as SolType>::RustType, operators: Vec<Address>, strategies: Vec<Address>, ) -> SolCallBuilder<&P, getAllocatedStakeCall, N>
Creates a new call builder for the [getAllocatedStake
] function.
Sourcepub fn getAllocatedStrategies(
&self,
operator: Address,
operatorSet: <OperatorSet as SolType>::RustType,
) -> SolCallBuilder<&P, getAllocatedStrategiesCall, N>
pub fn getAllocatedStrategies( &self, operator: Address, operatorSet: <OperatorSet as SolType>::RustType, ) -> SolCallBuilder<&P, getAllocatedStrategiesCall, N>
Creates a new call builder for the [getAllocatedStrategies
] function.
Sourcepub fn getAllocation(
&self,
operator: Address,
operatorSet: <OperatorSet as SolType>::RustType,
strategy: Address,
) -> SolCallBuilder<&P, getAllocationCall, N>
pub fn getAllocation( &self, operator: Address, operatorSet: <OperatorSet as SolType>::RustType, strategy: Address, ) -> SolCallBuilder<&P, getAllocationCall, N>
Creates a new call builder for the [getAllocation
] function.
Sourcepub fn getAllocationDelay(
&self,
operator: Address,
) -> SolCallBuilder<&P, getAllocationDelayCall, N>
pub fn getAllocationDelay( &self, operator: Address, ) -> SolCallBuilder<&P, getAllocationDelayCall, N>
Creates a new call builder for the [getAllocationDelay
] function.
Sourcepub fn getAllocations(
&self,
operators: Vec<Address>,
operatorSet: <OperatorSet as SolType>::RustType,
strategy: Address,
) -> SolCallBuilder<&P, getAllocationsCall, N>
pub fn getAllocations( &self, operators: Vec<Address>, operatorSet: <OperatorSet as SolType>::RustType, strategy: Address, ) -> SolCallBuilder<&P, getAllocationsCall, N>
Creates a new call builder for the [getAllocations
] function.
Sourcepub fn getEncumberedMagnitude(
&self,
operator: Address,
strategy: Address,
) -> SolCallBuilder<&P, getEncumberedMagnitudeCall, N>
pub fn getEncumberedMagnitude( &self, operator: Address, strategy: Address, ) -> SolCallBuilder<&P, getEncumberedMagnitudeCall, N>
Creates a new call builder for the [getEncumberedMagnitude
] function.
Sourcepub fn getMaxMagnitude(
&self,
operator: Address,
strategy: Address,
) -> SolCallBuilder<&P, getMaxMagnitudeCall, N>
pub fn getMaxMagnitude( &self, operator: Address, strategy: Address, ) -> SolCallBuilder<&P, getMaxMagnitudeCall, N>
Creates a new call builder for the [getMaxMagnitude
] function.
Sourcepub fn getMaxMagnitudes_0(
&self,
operators: Vec<Address>,
strategy: Address,
) -> SolCallBuilder<&P, getMaxMagnitudes_0Call, N>
pub fn getMaxMagnitudes_0( &self, operators: Vec<Address>, strategy: Address, ) -> SolCallBuilder<&P, getMaxMagnitudes_0Call, N>
Creates a new call builder for the [getMaxMagnitudes_0
] function.
Sourcepub fn getMaxMagnitudes_1(
&self,
operator: Address,
strategies: Vec<Address>,
) -> SolCallBuilder<&P, getMaxMagnitudes_1Call, N>
pub fn getMaxMagnitudes_1( &self, operator: Address, strategies: Vec<Address>, ) -> SolCallBuilder<&P, getMaxMagnitudes_1Call, N>
Creates a new call builder for the [getMaxMagnitudes_1
] function.
Sourcepub fn getMaxMagnitudesAtBlock(
&self,
operator: Address,
strategies: Vec<Address>,
blockNumber: u32,
) -> SolCallBuilder<&P, getMaxMagnitudesAtBlockCall, N>
pub fn getMaxMagnitudesAtBlock( &self, operator: Address, strategies: Vec<Address>, blockNumber: u32, ) -> SolCallBuilder<&P, getMaxMagnitudesAtBlockCall, N>
Creates a new call builder for the [getMaxMagnitudesAtBlock
] function.
Sourcepub fn getMemberCount(
&self,
operatorSet: <OperatorSet as SolType>::RustType,
) -> SolCallBuilder<&P, getMemberCountCall, N>
pub fn getMemberCount( &self, operatorSet: <OperatorSet as SolType>::RustType, ) -> SolCallBuilder<&P, getMemberCountCall, N>
Creates a new call builder for the [getMemberCount
] function.
Sourcepub fn getMembers(
&self,
operatorSet: <OperatorSet as SolType>::RustType,
) -> SolCallBuilder<&P, getMembersCall, N>
pub fn getMembers( &self, operatorSet: <OperatorSet as SolType>::RustType, ) -> SolCallBuilder<&P, getMembersCall, N>
Creates a new call builder for the [getMembers
] function.
Sourcepub fn getMinimumSlashableStake(
&self,
operatorSet: <OperatorSet as SolType>::RustType,
operators: Vec<Address>,
strategies: Vec<Address>,
futureBlock: u32,
) -> SolCallBuilder<&P, getMinimumSlashableStakeCall, N>
pub fn getMinimumSlashableStake( &self, operatorSet: <OperatorSet as SolType>::RustType, operators: Vec<Address>, strategies: Vec<Address>, futureBlock: u32, ) -> SolCallBuilder<&P, getMinimumSlashableStakeCall, N>
Creates a new call builder for the [getMinimumSlashableStake
] function.
Sourcepub fn getOperatorSetCount(
&self,
avs: Address,
) -> SolCallBuilder<&P, getOperatorSetCountCall, N>
pub fn getOperatorSetCount( &self, avs: Address, ) -> SolCallBuilder<&P, getOperatorSetCountCall, N>
Creates a new call builder for the [getOperatorSetCount
] function.
Sourcepub fn getRegisteredSets(
&self,
operator: Address,
) -> SolCallBuilder<&P, getRegisteredSetsCall, N>
pub fn getRegisteredSets( &self, operator: Address, ) -> SolCallBuilder<&P, getRegisteredSetsCall, N>
Creates a new call builder for the [getRegisteredSets
] function.
Sourcepub fn getStrategiesInOperatorSet(
&self,
operatorSet: <OperatorSet as SolType>::RustType,
) -> SolCallBuilder<&P, getStrategiesInOperatorSetCall, N>
pub fn getStrategiesInOperatorSet( &self, operatorSet: <OperatorSet as SolType>::RustType, ) -> SolCallBuilder<&P, getStrategiesInOperatorSetCall, N>
Creates a new call builder for the [getStrategiesInOperatorSet
] function.
Sourcepub fn getStrategyAllocations(
&self,
operator: Address,
strategy: Address,
) -> SolCallBuilder<&P, getStrategyAllocationsCall, N>
pub fn getStrategyAllocations( &self, operator: Address, strategy: Address, ) -> SolCallBuilder<&P, getStrategyAllocationsCall, N>
Creates a new call builder for the [getStrategyAllocations
] function.
Sourcepub fn initialize(
&self,
initialOwner: Address,
initialPausedStatus: U256,
) -> SolCallBuilder<&P, initializeCall, N>
pub fn initialize( &self, initialOwner: Address, initialPausedStatus: U256, ) -> SolCallBuilder<&P, initializeCall, N>
Creates a new call builder for the [initialize
] function.
Sourcepub fn isMemberOfOperatorSet(
&self,
operator: Address,
operatorSet: <OperatorSet as SolType>::RustType,
) -> SolCallBuilder<&P, isMemberOfOperatorSetCall, N>
pub fn isMemberOfOperatorSet( &self, operator: Address, operatorSet: <OperatorSet as SolType>::RustType, ) -> SolCallBuilder<&P, isMemberOfOperatorSetCall, N>
Creates a new call builder for the [isMemberOfOperatorSet
] function.
Sourcepub fn isOperatorSet(
&self,
operatorSet: <OperatorSet as SolType>::RustType,
) -> SolCallBuilder<&P, isOperatorSetCall, N>
pub fn isOperatorSet( &self, operatorSet: <OperatorSet as SolType>::RustType, ) -> SolCallBuilder<&P, isOperatorSetCall, N>
Creates a new call builder for the [isOperatorSet
] function.
Sourcepub fn isOperatorSlashable(
&self,
operator: Address,
operatorSet: <OperatorSet as SolType>::RustType,
) -> SolCallBuilder<&P, isOperatorSlashableCall, N>
pub fn isOperatorSlashable( &self, operator: Address, operatorSet: <OperatorSet as SolType>::RustType, ) -> SolCallBuilder<&P, isOperatorSlashableCall, N>
Creates a new call builder for the [isOperatorSlashable
] function.
Sourcepub fn modifyAllocations(
&self,
operator: Address,
params: Vec<<AllocateParams as SolType>::RustType>,
) -> SolCallBuilder<&P, modifyAllocationsCall, N>
pub fn modifyAllocations( &self, operator: Address, params: Vec<<AllocateParams as SolType>::RustType>, ) -> SolCallBuilder<&P, modifyAllocationsCall, N>
Creates a new call builder for the [modifyAllocations
] function.
Sourcepub fn owner(&self) -> SolCallBuilder<&P, ownerCall, N>
pub fn owner(&self) -> SolCallBuilder<&P, ownerCall, N>
Creates a new call builder for the [owner
] function.
Sourcepub fn pause(&self, newPausedStatus: U256) -> SolCallBuilder<&P, pauseCall, N>
pub fn pause(&self, newPausedStatus: U256) -> SolCallBuilder<&P, pauseCall, N>
Creates a new call builder for the [pause
] function.
Sourcepub fn pauseAll(&self) -> SolCallBuilder<&P, pauseAllCall, N>
pub fn pauseAll(&self) -> SolCallBuilder<&P, pauseAllCall, N>
Creates a new call builder for the [pauseAll
] function.
Sourcepub fn paused_0(&self, index: u8) -> SolCallBuilder<&P, paused_0Call, N>
pub fn paused_0(&self, index: u8) -> SolCallBuilder<&P, paused_0Call, N>
Creates a new call builder for the [paused_0
] function.
Sourcepub fn paused_1(&self) -> SolCallBuilder<&P, paused_1Call, N>
pub fn paused_1(&self) -> SolCallBuilder<&P, paused_1Call, N>
Creates a new call builder for the [paused_1
] function.
Sourcepub fn pauserRegistry(&self) -> SolCallBuilder<&P, pauserRegistryCall, N>
pub fn pauserRegistry(&self) -> SolCallBuilder<&P, pauserRegistryCall, N>
Creates a new call builder for the [pauserRegistry
] function.
Sourcepub fn permissionController(
&self,
) -> SolCallBuilder<&P, permissionControllerCall, N>
pub fn permissionController( &self, ) -> SolCallBuilder<&P, permissionControllerCall, N>
Creates a new call builder for the [permissionController
] function.
Sourcepub fn registerForOperatorSets(
&self,
operator: Address,
params: <RegisterParams as SolType>::RustType,
) -> SolCallBuilder<&P, registerForOperatorSetsCall, N>
pub fn registerForOperatorSets( &self, operator: Address, params: <RegisterParams as SolType>::RustType, ) -> SolCallBuilder<&P, registerForOperatorSetsCall, N>
Creates a new call builder for the [registerForOperatorSets
] function.
Sourcepub fn removeStrategiesFromOperatorSet(
&self,
avs: Address,
operatorSetId: u32,
strategies: Vec<Address>,
) -> SolCallBuilder<&P, removeStrategiesFromOperatorSetCall, N>
pub fn removeStrategiesFromOperatorSet( &self, avs: Address, operatorSetId: u32, strategies: Vec<Address>, ) -> SolCallBuilder<&P, removeStrategiesFromOperatorSetCall, N>
Creates a new call builder for the [removeStrategiesFromOperatorSet
] function.
Sourcepub fn renounceOwnership(&self) -> SolCallBuilder<&P, renounceOwnershipCall, N>
pub fn renounceOwnership(&self) -> SolCallBuilder<&P, renounceOwnershipCall, N>
Creates a new call builder for the [renounceOwnership
] function.
Sourcepub fn setAVSRegistrar(
&self,
avs: Address,
registrar: Address,
) -> SolCallBuilder<&P, setAVSRegistrarCall, N>
pub fn setAVSRegistrar( &self, avs: Address, registrar: Address, ) -> SolCallBuilder<&P, setAVSRegistrarCall, N>
Creates a new call builder for the [setAVSRegistrar
] function.
Sourcepub fn setAllocationDelay(
&self,
operator: Address,
delay: u32,
) -> SolCallBuilder<&P, setAllocationDelayCall, N>
pub fn setAllocationDelay( &self, operator: Address, delay: u32, ) -> SolCallBuilder<&P, setAllocationDelayCall, N>
Creates a new call builder for the [setAllocationDelay
] function.
Sourcepub fn slashOperator(
&self,
avs: Address,
params: <SlashingParams as SolType>::RustType,
) -> SolCallBuilder<&P, slashOperatorCall, N>
pub fn slashOperator( &self, avs: Address, params: <SlashingParams as SolType>::RustType, ) -> SolCallBuilder<&P, slashOperatorCall, N>
Creates a new call builder for the [slashOperator
] function.
Sourcepub fn transferOwnership(
&self,
newOwner: Address,
) -> SolCallBuilder<&P, transferOwnershipCall, N>
pub fn transferOwnership( &self, newOwner: Address, ) -> SolCallBuilder<&P, transferOwnershipCall, N>
Creates a new call builder for the [transferOwnership
] function.
Sourcepub fn unpause(
&self,
newPausedStatus: U256,
) -> SolCallBuilder<&P, unpauseCall, N>
pub fn unpause( &self, newPausedStatus: U256, ) -> SolCallBuilder<&P, unpauseCall, N>
Creates a new call builder for the [unpause
] function.
Sourcepub fn updateAVSMetadataURI(
&self,
avs: Address,
metadataURI: String,
) -> SolCallBuilder<&P, updateAVSMetadataURICall, N>
pub fn updateAVSMetadataURI( &self, avs: Address, metadataURI: String, ) -> SolCallBuilder<&P, updateAVSMetadataURICall, N>
Creates a new call builder for the [updateAVSMetadataURI
] function.
Sourcepub fn version(&self) -> SolCallBuilder<&P, versionCall, N>
pub fn version(&self) -> SolCallBuilder<&P, versionCall, N>
Creates a new call builder for the [version
] function.
Source§impl<P: Provider<N>, N: Network> AllocationManagerInstance<P, N>
Event filters.
impl<P: Provider<N>, N: Network> AllocationManagerInstance<P, N>
Event filters.
Sourcepub fn event_filter<E: SolEvent>(&self) -> Event<&P, E, N>
pub fn event_filter<E: SolEvent>(&self) -> Event<&P, E, N>
Creates a new event filter using this contract instance’s provider and address.
Note that the type can be any event, not just those defined in this contract. Prefer using the other methods for building type-safe event filters.
Sourcepub fn AVSMetadataURIUpdated_filter(
&self,
) -> Event<&P, AVSMetadataURIUpdated, N>
pub fn AVSMetadataURIUpdated_filter( &self, ) -> Event<&P, AVSMetadataURIUpdated, N>
Creates a new event filter for the AVSMetadataURIUpdated
event.
Sourcepub fn AVSRegistrarSet_filter(&self) -> Event<&P, AVSRegistrarSet, N>
pub fn AVSRegistrarSet_filter(&self) -> Event<&P, AVSRegistrarSet, N>
Creates a new event filter for the AVSRegistrarSet
event.
Sourcepub fn AllocationDelaySet_filter(&self) -> Event<&P, AllocationDelaySet, N>
pub fn AllocationDelaySet_filter(&self) -> Event<&P, AllocationDelaySet, N>
Creates a new event filter for the AllocationDelaySet
event.
Sourcepub fn AllocationUpdated_filter(&self) -> Event<&P, AllocationUpdated, N>
pub fn AllocationUpdated_filter(&self) -> Event<&P, AllocationUpdated, N>
Creates a new event filter for the AllocationUpdated
event.
Sourcepub fn EncumberedMagnitudeUpdated_filter(
&self,
) -> Event<&P, EncumberedMagnitudeUpdated, N>
pub fn EncumberedMagnitudeUpdated_filter( &self, ) -> Event<&P, EncumberedMagnitudeUpdated, N>
Creates a new event filter for the EncumberedMagnitudeUpdated
event.
Sourcepub fn Initialized_filter(&self) -> Event<&P, Initialized, N>
pub fn Initialized_filter(&self) -> Event<&P, Initialized, N>
Creates a new event filter for the Initialized
event.
Sourcepub fn MaxMagnitudeUpdated_filter(&self) -> Event<&P, MaxMagnitudeUpdated, N>
pub fn MaxMagnitudeUpdated_filter(&self) -> Event<&P, MaxMagnitudeUpdated, N>
Creates a new event filter for the MaxMagnitudeUpdated
event.
Sourcepub fn OperatorAddedToOperatorSet_filter(
&self,
) -> Event<&P, OperatorAddedToOperatorSet, N>
pub fn OperatorAddedToOperatorSet_filter( &self, ) -> Event<&P, OperatorAddedToOperatorSet, N>
Creates a new event filter for the OperatorAddedToOperatorSet
event.
Sourcepub fn OperatorRemovedFromOperatorSet_filter(
&self,
) -> Event<&P, OperatorRemovedFromOperatorSet, N>
pub fn OperatorRemovedFromOperatorSet_filter( &self, ) -> Event<&P, OperatorRemovedFromOperatorSet, N>
Creates a new event filter for the OperatorRemovedFromOperatorSet
event.
Sourcepub fn OperatorSetCreated_filter(&self) -> Event<&P, OperatorSetCreated, N>
pub fn OperatorSetCreated_filter(&self) -> Event<&P, OperatorSetCreated, N>
Creates a new event filter for the OperatorSetCreated
event.
Sourcepub fn OperatorSlashed_filter(&self) -> Event<&P, OperatorSlashed, N>
pub fn OperatorSlashed_filter(&self) -> Event<&P, OperatorSlashed, N>
Creates a new event filter for the OperatorSlashed
event.
Sourcepub fn OwnershipTransferred_filter(&self) -> Event<&P, OwnershipTransferred, N>
pub fn OwnershipTransferred_filter(&self) -> Event<&P, OwnershipTransferred, N>
Creates a new event filter for the OwnershipTransferred
event.
Sourcepub fn Paused_filter(&self) -> Event<&P, Paused, N>
pub fn Paused_filter(&self) -> Event<&P, Paused, N>
Creates a new event filter for the Paused
event.
Sourcepub fn StrategyAddedToOperatorSet_filter(
&self,
) -> Event<&P, StrategyAddedToOperatorSet, N>
pub fn StrategyAddedToOperatorSet_filter( &self, ) -> Event<&P, StrategyAddedToOperatorSet, N>
Creates a new event filter for the StrategyAddedToOperatorSet
event.
Sourcepub fn StrategyRemovedFromOperatorSet_filter(
&self,
) -> Event<&P, StrategyRemovedFromOperatorSet, N>
pub fn StrategyRemovedFromOperatorSet_filter( &self, ) -> Event<&P, StrategyRemovedFromOperatorSet, N>
Creates a new event filter for the StrategyRemovedFromOperatorSet
event.
Trait Implementations§
Source§impl<P: Clone, N: Clone> Clone for AllocationManagerInstance<P, N>
impl<P: Clone, N: Clone> Clone for AllocationManagerInstance<P, N>
Source§fn clone(&self) -> AllocationManagerInstance<P, N>
fn clone(&self) -> AllocationManagerInstance<P, N>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl<P, N> Freeze for AllocationManagerInstance<P, N>where
P: Freeze,
impl<P, N> RefUnwindSafe for AllocationManagerInstance<P, N>where
P: RefUnwindSafe,
N: RefUnwindSafe,
impl<P, N> Send for AllocationManagerInstance<P, N>
impl<P, N> Sync for AllocationManagerInstance<P, N>
impl<P, N> Unpin for AllocationManagerInstance<P, N>
impl<P, N> UnwindSafe for AllocationManagerInstance<P, N>where
P: UnwindSafe,
N: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more