Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IAccessControlSafeDispatcherImpl

Fully qualified path: access_control_a::access_control::IAccessControlSafeDispatcherImpl

Part of the group: dispatchers

impl IAccessControlSafeDispatcherImpl of IAccessControlSafeDispatcherTrait<
    IAccessControlSafeDispatcher,
>;

Impl functions

get_roles

Fully qualified path: access_control_a::access_control::IAccessControlSafeDispatcherImpl::get_roles

fn get_roles(
    self: IAccessControlSafeDispatcher, account: ContractAddress,
) -> Result<u128, Array<felt252>>

has_role

Fully qualified path: access_control_a::access_control::IAccessControlSafeDispatcherImpl::has_role

fn has_role(
    self: IAccessControlSafeDispatcher, role: u128, account: ContractAddress,
) -> Result<bool, Array<felt252>>

get_admin

Fully qualified path: access_control_a::access_control::IAccessControlSafeDispatcherImpl::get_admin

fn get_admin(self: IAccessControlSafeDispatcher) -> Result<ContractAddress, Array<felt252>>

get_pending_admin

Fully qualified path: access_control_a::access_control::IAccessControlSafeDispatcherImpl::get_pending_admin

fn get_pending_admin(self: IAccessControlSafeDispatcher) -> Result<ContractAddress, Array<felt252>>

grant_role

Fully qualified path: access_control_a::access_control::IAccessControlSafeDispatcherImpl::grant_role

fn grant_role(
    self: IAccessControlSafeDispatcher, role: u128, account: ContractAddress,
) -> Result<(), Array<felt252>>

revoke_role

Fully qualified path: access_control_a::access_control::IAccessControlSafeDispatcherImpl::revoke_role

fn revoke_role(
    self: IAccessControlSafeDispatcher, role: u128, account: ContractAddress,
) -> Result<(), Array<felt252>>

renounce_role

Fully qualified path: access_control_a::access_control::IAccessControlSafeDispatcherImpl::renounce_role

fn renounce_role(self: IAccessControlSafeDispatcher, role: u128) -> Result<(), Array<felt252>>

set_pending_admin

Fully qualified path: access_control_a::access_control::IAccessControlSafeDispatcherImpl::set_pending_admin

fn set_pending_admin(
    self: IAccessControlSafeDispatcher, new_admin: ContractAddress,
) -> Result<(), Array<felt252>>

accept_admin

Fully qualified path: access_control_a::access_control::IAccessControlSafeDispatcherImpl::accept_admin

fn accept_admin(self: IAccessControlSafeDispatcher) -> Result<(), Array<felt252>>