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

Move path
0xce7f…4db2::reservoir
Functions
127 public, 0 entry
Structs
3
Friend modules
buck
reservoir

Declarations

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

module reservoir;
struct FeeConfig has copy, drop, store {
charge_fee_rate: u64,
discharge_fee_rate: u64,
}
struct FeeConfigKey has copy, drop, store {
dummy_field: bool,
}
struct Reservoir<phantom T0> has store, key {
id: UID,
conversion_rate: u64,
charge_fee_rate: u64,
discharge_fee_rate: u64,
pool: Balance<T0>,
buck_minted_amount: u64,
}
public fun charge_fee_rate<T0>(&Reservoir<T0>): u64
public fun charge_fee_rate_for_partner<T0, T1: drop>(&Reservoir<T0>): u64
public fun conversion_rate<T0>(&Reservoir<T0>): u64
public fun discharge_fee_rate<T0>(&Reservoir<T0>): u64
public fun discharge_fee_rate_for_partner<T0, T1: drop>(&Reservoir<T0>): u64
public(package) fun handle_charge<T0>(&mut Reservoir<T0>,Balance<T0>): u64
public(package) fun handle_discharge<T0>(&mut Reservoir<T0>,u64): Balance<T0>
public fun is_partner<T0, T1: drop>(&Reservoir<T0>): bool
public(package) fun new<T0>(u64,u64,u64): Reservoir<T0>
public fun pool_balance<T0>(&Reservoir<T0>): u64
public(package) fun set_fee_config<T0, T1: drop>(&mut Reservoir<T0>,u64,u64)
public(package) fun update_fee_rate<T0>(&mut Reservoir<T0>,u64,u64)