buck
Module0x2545…e8b3
- Move path
- 0xce7f…4db2::buck
- Functions
- 6658 public, 5 entry
- Structs
- 11
- Friend modules
- None
buck
Declarations
Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.
module buck;
struct AdminCap has store, key {
id: UID,
}
struct BUCK has drop {
dummy_field: bool,
}
struct BucketProtocol has key {
id: UID,
version: u64,
buck_treasury_cap: TreasuryCap<BUCK>,
min_bottle_size: u64,
}
struct BucketType<phantom T0> has copy, drop, store {
dummy_field: bool,
}
struct FlashMintConfig has store, key {
id: UID,
fee_rate: u64,
max_amount: u64,
total_amount: u64,
}
struct FlashMintReceipt {
config_id: ID,
mint_amount: u64,
fee_amount: u64,
}
struct NoFeePermission has key {
id: UID,
}
struct ReservoirType<phantom T0> has copy, drop, store {
dummy_field: bool,
}
struct TankType<phantom T0> has copy, drop, store {
dummy_field: bool,
}
struct TestVersion has store, key {
id: UID,
version: u64,
}
struct WellType<phantom T0> has copy, drop, store {
dummy_field: bool,
}
public fun borrow<T0>(&mut BucketProtocol,&bucket_oracle::BucketOracle,&Clock,Balance<T0>,u64,Option<address>): Balance<BUCK>
public fun borrow_with_strap<T0>(&mut BucketProtocol,&bucket_oracle::BucketOracle,&strap::BottleStrap<T0>,&Clock,Balance<T0>,u64,Option<address>): Balance<BUCK>
public fun charge_reservoir_without_fee<T0>(&NoFeePermission,&mut BucketProtocol,Balance<T0>): Balance<BUCK>
public fun create_bucket_with_interest_table<T0>(&AdminCap,&mut BucketProtocol,u64,u64,u8,Option<u64>,&Clock,u256)
public fun discharge_reservoir_without_fee<T0>(&NoFeePermission,&mut BucketProtocol,Balance<BUCK>): Balance<T0>
public fun flash_borrow_buck<T0>(&mut BucketProtocol,u64): (Balance<BUCK>, tank::FlashReceipt<BUCK, T0>)
public fun flash_mint(&mut BucketProtocol,&mut FlashMintConfig,u64): (Balance<BUCK>, FlashMintReceipt)
public fun liquidate_under_normal_mode<T0>(&mut BucketProtocol,&bucket_oracle::BucketOracle,&Clock,address): Balance<T0>
public fun liquidate_under_recovery_mode<T0>(&mut BucketProtocol,&bucket_oracle::BucketOracle,&Clock,address): Balance<T0>
fun normally_liquidate<T0>(&mut BucketProtocol,&bucket_oracle::BucketOracle,&Clock,address): Balance<T0>
public fun package_version(): u64
public fun redeem<T0>(&mut BucketProtocol,&bucket_oracle::BucketOracle,&Clock,Balance<BUCK>,Option<address>): Balance<T0>
public fun repay_with_strap<T0>(&mut BucketProtocol,&strap::BottleStrap<T0>,Balance<BUCK>,&Clock): Balance<T0>
public fun tank_withdraw<T0>(&mut BucketProtocol,&bucket_oracle::BucketOracle,&Clock,&mut bkt::BktTreasury,tank::ContributorToken<BUCK, T0>): (Balance<BUCK>, Balance<T0>, Balance<bkt::BKT>)
public fun withdraw<T0>(&mut BucketProtocol,&bucket_oracle::BucketOracle,&Clock,u64,Option<address>): Balance<T0>
public fun withdraw_surplus_with_strap<T0>(&mut BucketProtocol,&strap::BottleStrap<T0>): Balance<T0>
public fun withdraw_with_strap<T0>(&mut BucketProtocol,&bucket_oracle::BucketOracle,&strap::BottleStrap<T0>,&Clock,u64,Option<address>): Balance<T0>