The Aptos Framework Book

Module 0x7::order_book_utils

  • Constants
  • Function new_default_big_ordered_map
use 0x1::big_ordered_map;

Constants

const BIG_MAP_INNER_DEGREE: u16 = 64;

const BIG_MAP_LEAF_DEGREE: u16 = 32;

Function new_default_big_ordered_map

public(friend) fun new_default_big_ordered_map<K: store, V: store>(): big_ordered_map::BigOrderedMap<K, V>
Implementation
public(friend) fun new_default_big_ordered_map<K: store, V: store>()
    : BigOrderedMap<K, V> {
    big_ordered_map::new_with_config(
        BIG_MAP_INNER_DEGREE,
        BIG_MAP_LEAF_DEGREE,
        true
    )
}