Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

set_many

Write a raw value defined by its layout and identified by its keys.

Arguments

  • address_domain - the address domain to use
  • keys - the keys of the value to write
  • unpacked - the raw value to write
  • offset - the starting point from where to extract raw value from the unpacked array.
  • layout - the layout of the value to write

Fully qualified path: dojo::storage::storage::set_many

pub fn set_many(
    address_domain: u32,
    keys: Span<felt252>,
    mut unpacked: Span<felt252>,
    offset: u32,
    mut layout: Span<u8>,
)