@bucket/core-interface
reservoir_events
- Move path
- 0xce7f…4db2::reservoir_events
- Functions
- 20 public, 0 entry
- Structs
- 2
- Friend modules
- reservoir
reservoir_events
Bytecode34 lines
The on-chain disassembly. Offsets are instruction numbers within each function.
// Move bytecode v7
module ce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2.reservoir_events {
use 0000000000000000000000000000000000000000000000000000000000000002::event;
struct ChargeReservior<phantom Ty0> has copy, drop {
inflow_amount: u64,
buck_amount: u64
}
struct DischargeReservior<phantom Ty0> has copy, drop {
outflow_amount: u64,
buck_amount: u64
}
public(friend) emit_charge_reservoir<Ty0>(Arg0: u64, Arg1: u64) {
B0:
0MoveLoc[0](Arg0: u64)
1MoveLoc[1](Arg1: u64)
2PackGeneric[0](ChargeReservior<Ty0>)
3Call event::emit<ChargeReservior<Ty0>>(ChargeReservior<Ty0>)
4Ret
}
public(friend) emit_discharge_reservoir<Ty0>(Arg0: u64, Arg1: u64) {
B0:
0MoveLoc[0](Arg0: u64)
1MoveLoc[1](Arg1: u64)
2PackGeneric[1](DischargeReservior<Ty0>)
3Call event::emit<DischargeReservior<Ty0>>(DischargeReservior<Ty0>)
4Ret
}
}