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

interest

Module0xae5f…6600
Move path
0xce7f…4db2::interest
Functions
136 public, 0 entry
Structs
2
Friend modules
bottlebuckbucket
interest

Declarations

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

module interest;
struct BottleInterestIndex has store, key {
id: UID,
active_interest_index: u256,
}
struct InterestTable has store, key {
id: UID,
interest_rate: u256,
active_interest_index: u256,
last_active_index_update: u64,
interest_payable: u256,
}
public(package) fun accrue_active_interests(&mut InterestTable,u64,&Clock): (u256, u256)
public(package) fun calculate_interest_index(&InterestTable,&Clock): (u256, u256)
public(package) fun collect_interests(&mut InterestTable): u64
public fun get_active_interest_index(&InterestTable): u256
public fun get_bottle_interest_index(&BottleInterestIndex): u256
public fun get_interest_payable(&InterestTable): u256
public fun get_interest_rate(&InterestTable): u256
public fun get_interest_table_info(&InterestTable): (u256, u256, u64, u256)
public fun get_last_active_index_update(&InterestTable): u64
public(package) fun new_bottle_interest_index(u256): BottleInterestIndex
public(package) fun new_interest_table(&Clock): InterestTable
public(package) fun set_interest_rate(&mut InterestTable,u256,u64,&Clock)
public(package) fun update_bottle_interest_index(&mut BottleInterestIndex,u256)