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

Move path
0xce7f…4db2::tank_events
Functions
50 public, 0 entry
Structs
5
Friend modules
tank
tank_events

Bytecode93 lines

The on-chain disassembly. Offsets are instruction numbers within each function.

// Move bytecode v7
module ce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2.tank_events {
use 0000000000000000000000000000000000000000000000000000000000000001::ascii;
use 0000000000000000000000000000000000000000000000000000000000000001::type_name;
use 0000000000000000000000000000000000000000000000000000000000000002::event;
 
struct Deposite has copy, drop {
tank_type: String,
buck_amount: u64
}
 
struct Withdraw has copy, drop {
tank_type: String,
buck_amount: u64,
collateral_amount: u64,
bkt_amount: u64
}
 
struct Absorb has copy, drop {
tank_type: String,
buck_amount: u64,
collateral_amount: u64
}
 
struct TankUpdate has copy, drop {
tank_type: String,
current_epoch: u64,
current_scale: u64,
current_p: u64
}
 
struct CollectBKT has copy, drop {
tank_type: String,
bkt_amount: u64
}
 
public(friend) emit_deposit<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](Deposite)
4Call event::emit<Deposite>(Deposite)
5Ret
}
 
public(friend) emit_withdraw<Ty0>(Arg0: u64, Arg1: u64, Arg2: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3MoveLoc[1](Arg1: u64)
4MoveLoc[2](Arg2: u64)
5Pack[1](Withdraw)
6Call event::emit<Withdraw>(Withdraw)
7Ret
}
 
public(friend) emit_absorb<Ty0>(Arg0: u64, Arg1: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3MoveLoc[1](Arg1: u64)
4Pack[2](Absorb)
5Call event::emit<Absorb>(Absorb)
6Ret
}
 
public(friend) emit_tank_update<Ty0>(Arg0: u64, Arg1: u64, Arg2: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3MoveLoc[1](Arg1: u64)
4MoveLoc[2](Arg2: u64)
5Pack[3](TankUpdate)
6Call event::emit<TankUpdate>(TankUpdate)
7Ret
}
 
public(friend) emit_collect_bkt<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](CollectBKT)
4Call event::emit<CollectBKT>(CollectBKT)
5Ret
}
 
}