Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

apportionment_queue

Module0xa9ac…bf1e
Move path
0xfdc8…ea77::apportionment_queue
Functions
63 public, 0 entry
Structs
2
Friend modules
None
apportionment_queue

Declarations

Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.

module apportionment_queue;
struct ApportionmentQueue<T0> has drop {
entries: vector<Entry<T0>>,
}
struct Entry<T0> has drop {
priority: UQ64_64,
tie_breaker: u64,
value: T0,
}
fun bubble_down<T0>(&mut vector<Entry<T0>>)
fun bubble_up<T0>(&mut vector<Entry<T0>>)
fun higher_priority_than<T0>(&Entry<T0>,&Entry<T0>): bool
public fun insert<T0>(&mut ApportionmentQueue<T0>,UQ64_64,u64,T0)
public fun new<T0>(): ApportionmentQueue<T0>
public fun pop_max<T0>(&mut ApportionmentQueue<T0>): (UQ64_64, u64, T0)