Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IAllocatorSafeDispatcherTrait

Fully qualified path: opus::interfaces::allocator::IAllocatorSafeDispatcherTrait

Part of the group: dispatchers

pub trait IAllocatorSafeDispatcherTrait<T>

Trait functions

get_allocation

Fully qualified path: opus::interfaces::allocator::IAllocatorSafeDispatcherTrait::get_allocation

fn get_allocation(self: T) -> Result<(Span<ContractAddress>, Span<Ray>), Array<felt252>>

set_allocation

Fully qualified path: opus::interfaces::allocator::IAllocatorSafeDispatcherTrait::set_allocation

fn set_allocation(
    self: T, recipients: Span<ContractAddress>, percentages: Span<Ray>,
) -> Result<(), Array<felt252>>