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

borrow

Module0x0000…0002
Move path
0x0000…0002::borrow
Functions
44 public, 0 entry
Structs
2
Friend modules
None
borrow

Declarations

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

module borrow;
struct Borrow {
ref: address,
obj: ID,
}
struct Referent<T0: store + key> has store {
id: address,
value: Option<T0>,
}
public fun borrow<T0: store + key>(&mut Referent<T0>): (T0, Borrow)
public fun destroy<T0: store + key>(Referent<T0>): T0
public fun new<T0: store + key>(T0): Referent<T0>
public fun put_back<T0: store + key>(&mut Referent<T0>,T0,Borrow)