leverage_repay
Module0xaab0…de47
- Move path
- 0x042a…199e::leverage_repay
- Functions
- 62 public, 0 entry
- Structs
- 3
leverage_repay
Declarations
Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.
module leverage_repay;
struct CoinSplitEvent has copy, drop {
input_amount: u64,
split_amount: u64,
coin_type: TypeName,
}
struct RefundedEvent has copy, drop {
leverage_owner_cap: ID,
amount: u64,
amount_usd: float::Decimal,
coin_type: TypeName,
}
public fun complete_leverage<T0, T1>(&mut app::ProtocolApp,&mut market::Market<T0>,&mut leverage_market::LeverageMarket,&leverage_obligation::LeverageMarketOwnerCap,LeverageHotPotato<T0, T1>,Option<String>,Coin<T1>,&x_oracle::XOracle,&Clock,&coin_decimals_registry::CoinDecimalsRegistry): Coin<T1>
public(package) fun complete_leverage_inner<T0, T1>(&mut app::ProtocolApp,&mut market::Market<T0>,&mut leverage_market::LeverageMarket,&leverage_obligation::LeverageMarketOwnerCap,market::FlashLoan<T0, T1>,Option<String>,Coin<T1>,&x_oracle::XOracle,&Clock,&coin_decimals_registry::CoinDecimalsRegistry): Coin<T1>
public(package) fun new_leverage_hot_potato<T0, T1>(market::FlashLoan<T0, T1>): LeverageHotPotato<T0, T1>
fun new_refunded_event<T0>(ID,&x_oracle::XOracle,&Clock,u64,&coin_decimals_registry::CoinDecimalsRegistry): RefundedEvent
public fun split_with_event<T0>(&mut Coin<T0>, u64): Coin<T0>