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

API

vdf

Module0x0000…0002
Move path
0x0000…0002::vdf
Functions
42 public, 0 entry
Structs
0
Friend modules
None
vdf

Bytecode29 lines

The on-chain disassembly. Offsets are bytecode positions within each function.

// Move bytecode v7
module 2.vdf {
 
public hash_to_input(Arg0: &vector<u8>): vector<u8> {
B0:
0MoveLoc[0](Arg0: &vector<u8>)
1Call hash_to_input_internal(&vector<u8>): vector<u8>
2Ret
}
 
native hash_to_input_internal(Arg0: &vector<u8>): vector<u8>;
 
public vdf_verify(Arg0: &vector<u8>, Arg1: &vector<u8>, Arg2: &vector<u8>, Arg3: u64): bool {
B0:
0MoveLoc[0](Arg0: &vector<u8>)
1MoveLoc[1](Arg1: &vector<u8>)
2MoveLoc[2](Arg2: &vector<u8>)
3MoveLoc[3](Arg3: u64)
4Call vdf_verify_internal(&vector<u8>, &vector<u8>, &vector<u8>, u64): bool
5Ret
}
 
native vdf_verify_internal(Arg0: &vector<u8>, Arg1: &vector<u8>, Arg2: &vector<u8>, Arg3: u64): bool;
 
Constants [
0 => u64: 0
]
}