drand_lib
Module0xe07a…c5fa
- Move path
- 0x625d…9849::drand_lib
- Functions
- 44 public, 0 entry
- Structs
- 0
- Friend modules
- None
drand_lib
Bytecode170 lines
The on-chain disassembly. Offsets are bytecode positions within each function.
// Move bytecode v6
module 625d518a3cc78899742d76cf785609cd707e15228d4284aa4fee5ca53caa9849.drand_lib {
use 0000000000000000000000000000000000000000000000000000000000000001::hash;
use 0000000000000000000000000000000000000000000000000000000000000002::bls12381;
public verify_time_has_passed(Arg0: u64, Arg1: vector<u8>, Arg2: u64) {
B0:
0MoveLoc[0](Arg0: u64)
1LdConst[2](u64: 1692..)
2LdConst[4](u64: 3)
3CopyLoc[2](Arg2: u64)
4LdU64(1)
5Sub
6Mul
7Add
8Le
9BrFalse(11)
B1:
10Branch(13)
B2:
11LdConst[1](u64: 1)
12Abort
B3:
13MoveLoc[1](Arg1: vector<u8>)
14MoveLoc[2](Arg2: u64)
15Call verify_drand_signature(vector<u8>, u64)
16Ret
}
public verify_drand_signature(Arg0: vector<u8>, Arg1: u64) {
L2: loc0: u64
L3: loc1: &mut u8
L4: loc2: vector<u8>
L5: loc3: vector<u8>
L6: loc4: u64
L7: loc5: vector<u8>
B0:
0LdConst[5](vector<u8>: "