Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

InternalTrait

Fully qualified path: openzeppelin_security::reentrancyguard::ReentrancyGuardComponent::InternalTrait

pub trait InternalTrait<TContractState, +HasComponent<TContractState>>

Trait functions

start

Prevents a contract’s function from calling itself or another protected function, directly or indirectly.

Fully qualified path: openzeppelin_security::reentrancyguard::ReentrancyGuardComponent::InternalTrait::start

fn start(ref self: ComponentState<TContractState>)

end

Removes the reentrant guard.

Fully qualified path: openzeppelin_security::reentrancyguard::ReentrancyGuardComponent::InternalTrait::end

fn end(ref self: ComponentState<TContractState>)