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

API

query_types

Module0x45ba…fc70
Move path
0xfe1d…80bf::query_types
Functions
30 public, 0 entry
Structs
3
Friend modules
market_query
query_types

Declarations

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

module query_types;
struct AssetBorrow has copy, drop {
valuation: AssetValuation,
borrow_index: float::Decimal,
}
struct AssetDeposit has copy, drop {
is_collateral: bool,
valuation: AssetValuation,
ctoken_amount: u64,
exchange_rate: float::Decimal,
}
struct AssetValuation has copy, drop {
coin_type: TypeName,
amount: u64,
}
public(package) fun new_asset_borrow(TypeName,u64,float::Decimal,u8,float::Decimal): AssetBorrow
public(package) fun new_asset_collateral_from_ctoken(TypeName,u64,float::Decimal,u8,float::Decimal): AssetDeposit
public(package) fun new_asset_deposit(TypeName,bool,u64,float::Decimal,u8,float::Decimal): AssetDeposit