pipe_events
Module0x0b6b…4d79
- Move path
- 0xce7f…4db2::pipe_events
- Functions
- 20 public, 0 entry
- Structs
- 2
- Friend modules
- pipe
pipe_events
Bytecode32 lines
The on-chain disassembly. Offsets are bytecode positions within each function.
// Move bytecode v7
module ce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2.pipe_events {
use 0000000000000000000000000000000000000000000000000000000000000002::balance;
use 0000000000000000000000000000000000000000000000000000000000000002::event;
struct Output<phantom Ty0, phantom Ty1: drop> has copy, drop {
volume: u64
}
struct Input<phantom Ty0, phantom Ty1: drop> has copy, drop {
volume: u64
}
public(friend) emit_output<Ty0, Ty1: drop>(Arg0: u64) {
B0:
0MoveLoc[0](Arg0: u64)
1PackGeneric[0](Output<Ty0, Ty1>)
2Call event::emit<Output<Ty0, Ty1>>(Output<Ty0, Ty1>)
3Ret
}
public(friend) emit_input<Ty0, Ty1: drop>(Arg0: &Balance<Ty0>) {
B0:
0MoveLoc[0](Arg0: &Balance<Ty0>)
1Call balance::value<Ty0>(&Balance<Ty0>): u64
2PackGeneric[1](Input<Ty0, Ty1>)
3Call event::emit<Input<Ty0, Ty1>>(Input<Ty0, Ty1>)
4Ret
}
}