buck_events
Module0xce7f…4db2
- Move path
- 0xce7f…4db2::buck_events
- Functions
- 50 public, 0 entry
- Structs
- 5
- Friend modules
- buck
buck_events
Bytecode138 lines
The on-chain disassembly. Offsets are instruction numbers within each function.
// Move bytecode v7
module ce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2.buck_events {
use 0000000000000000000000000000000000000000000000000000000000000001::ascii;
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000001::type_name;
use 0000000000000000000000000000000000000000000000000000000000000002::event;
use 0000000000000000000000000000000000000000000000000000000000000002::object;
struct BuckMinted has copy, drop {
collateral_type: String,
buck_amount: u64
}
struct BuckBurnt has copy, drop {
collateral_type: String,
buck_amount: u64
}
struct CollateralIncreased has copy, drop {
collateral_type: String,
collateral_amount: u64
}
struct CollateralDecreased has copy, drop {
collateral_type: String,
collateral_amount: u64
}
struct FlashLoan has copy, drop {
coin_type: String,
amount: u64
}
struct FlashMint has copy, drop {
config_id: ID,
mint_amount: u64,
fee_amount: u64
}
struct ParamUpdated<phantom Ty0> has copy, drop {
param_name: String,
new_value: u64
}
struct Liquidation<phantom Ty0> has copy, drop {
price_n: u64,
price_m: u64,
coll_amount: u64,
debt_amount: u64,
tcr: Option<u64>,
debtor: address
}
public(friend) emit_buck_minted<Ty0>(Arg0: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3Pack[0](BuckMinted)
4Call event::emit<BuckMinted>(BuckMinted)
5Ret
}
public(friend) emit_buck_burnt<Ty0>(Arg0: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3Pack[1](BuckBurnt)
4Call event::emit<BuckBurnt>(BuckBurnt)
5Ret
}
public(friend) emit_collateral_increased<Ty0>(Arg0: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3Pack[2](CollateralIncreased)
4Call event::emit<CollateralIncreased>(CollateralIncreased)
5Ret
}
public(friend) emit_collateral_decreased<Ty0>(Arg0: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3Pack[3](CollateralDecreased)
4Call event::emit<CollateralDecreased>(CollateralDecreased)
5Ret
}
public(friend) emit_flash_loan<Ty0>(Arg0: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3Pack[4](FlashLoan)
4Call event::emit<FlashLoan>(FlashLoan)
5Ret
}
public(friend) emit_flash_mint(Arg0: ID, Arg1: u64, Arg2: u64) {
B0:
0MoveLoc[0](Arg0: ID)
1MoveLoc[1](Arg1: u64)
2MoveLoc[2](Arg2: u64)
3Pack[5](FlashMint)
4Call event::emit<FlashMint>(FlashMint)
5Ret
}
public(friend) emit_param_updated<Ty0>(Arg0: vector<u8>, Arg1: u64) {
B0:
0MoveLoc[0](Arg0: vector<u8>)
1Call ascii::string(vector<u8>): String
2MoveLoc[1](Arg1: u64)
3PackGeneric[0](ParamUpdated<Ty0>)
4Call event::emit<ParamUpdated<Ty0>>(ParamUpdated<Ty0>)
5Ret
}
public(friend) emit_liquidation<Ty0>(Arg0: u64, Arg1: u64, Arg2: u64, Arg3: u64, Arg4: Option<u64>, Arg5: address) {
B0:
0MoveLoc[0](Arg0: u64)
1MoveLoc[1](Arg1: u64)
2MoveLoc[2](Arg2: u64)
3MoveLoc[3](Arg3: u64)
4MoveLoc[4](Arg4: Option<u64>)
5MoveLoc[5](Arg5: address)
6PackGeneric[1](Liquidation<Ty0>)
7Call event::emit<Liquidation<Ty0>>(Liquidation<Ty0>)
8Ret
}
}