Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IAllocator

Fully qualified path: opus::interfaces::allocator::IAllocator

pub trait IAllocator<TContractState>

Trait functions

get_allocation

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

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

set_allocation

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

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