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

API

pipe

Module0x0b6b…4d79
Move path
0xce7f…4db2::pipe
Functions
135 public, 0 entry
Structs
4
Friend modules
buck
pipe

Declarations

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

module pipe;
struct InputCarrier<phantom T0, phantom T1: drop> {
content: Balance<T0>,
}
struct OutputCarrier<phantom T0, phantom T1: drop> {
content: Balance<T0>,
}
struct Pipe<phantom T0, phantom T1: drop> has store, key {
id: UID,
output_volume: u64,
}
struct PipeType<phantom T0, phantom T1: drop> has copy, drop, store {
dummy_field: bool,
}
public(package) fun destroy_buck_pipe<T0, T1: drop>(Pipe<T0, T1>)
public(package) fun destroy_input_carrier<T0, T1: drop>(&mut Pipe<T0, T1>,InputCarrier<T0, T1>): Balance<T0>
public fun destroy_output_carrier<T0, T1: drop>(T1,OutputCarrier<T0, T1>): Balance<T0>
public(package) fun destroy_pipe<T0, T1: drop>(Pipe<T0, T1>)
fun err_destroy_non_empty_pipe()
fun err_input_too_much()
public fun input<T0, T1: drop>(T1, Balance<T0>): InputCarrier<T0, T1>
public fun input_carrier_volume<T0, T1: drop>(&InputCarrier<T0, T1>): u64
public(package) fun new_pipe<T0, T1: drop>(): Pipe<T0, T1>
public(package) fun new_type<T0, T1: drop>(): PipeType<T0, T1>
public(package) fun output<T0, T1: drop>(&mut Pipe<T0, T1>,Balance<T0>): OutputCarrier<T0, T1>
public fun output_carrier_volume<T0, T1: drop>(&OutputCarrier<T0, T1>): u64
public fun output_volume<T0, T1: drop>(&Pipe<T0, T1>): u64