Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IAllocatorDispatcherTrait

Fully qualified path: opus::interfaces::allocator::IAllocatorDispatcherTrait

Part of the group: dispatchers

pub trait IAllocatorDispatcherTrait<T>

Trait functions

get_allocation

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

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

set_allocation

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

fn set_allocation(self: T, recipients: Span<ContractAddress>, percentages: Span<Ray>)