bottle
Module0xce7f…4db2
- Move path
- 0xce7f…4db2::bottle
- Functions
- 3715 public, 0 entry
- Structs
- 2
- Friend modules
- bucket
bottle
Declarations
Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.
module bottle;
struct Bottle has store, key {
id: UID,
collateral_amount: u64,
buck_amount: u64,
stake_amount: u64,
reward_coll_snapshot: u128,
reward_debt_snapshot: u128,
}
struct BottleTable has store, key {
id: UID,
total_stake: u64,
total_stake_snapshot: u64,
total_collateral_snapshot: u64,
debt_per_unit_stake: u128,
reward_per_unit_stake: u128,
last_reward_error: u128,
last_debt_error: u128,
}
fun compute_buck_value_to_collateral(u64,u8,u64,u64): u64
public(package) fun record_repay_capped<T0>(&mut Bottle,u64,&bucket_oracle::BucketOracle,&Clock,u64,u8): (bool, u64)