attributes
Module0x95bd…e9ff
- Move path
- 0x95bd…e9ff::attributes
- Functions
- 22 public, 0 entry
- Structs
- 1
- Friend modules
- None
Bytecode66 lines
The on-chain disassembly. Offsets are bytecode positions within each function.
// Move bytecode v6
module 95bde20afc7cc60458d8360c87d4ed1f136dd0fee64828bb7b613aea2d98e9ff.attributes {
use 0000000000000000000000000000000000000000000000000000000000000001::string;
use 0000000000000000000000000000000000000000000000000000000000000002::vec_map;
struct Attributes has drop, store {
map: VecMap<String, String>
}
public new(Arg0: VecMap<String, String>): Attributes {
B0:
0MoveLoc[0](Arg0: VecMap<String, String>)
1Pack[0](Attributes)
2Ret
}
public from_vec(Arg0: &mut vector<String>, Arg1: &mut vector<String>): Attributes {
L2: loc0: u64
L3: loc1: String
L4: loc2: VecMap<String, String>
L5: loc3: u64
L6: loc4: String
B0:
0LdU64(0)
1StLoc[2](loc0: u64)
2CopyLoc[0](Arg0: &mut vector<String>)
3FreezeRef
4VecLen(5)
5StLoc[5](loc3: u64)
6Call vec_map::empty<String, String>(): VecMap<String, String>
7StLoc[4](loc2: VecMap<String, String>)
B1:
8CopyLoc[2](loc0: u64)
9CopyLoc[5](loc3: u64)
10Lt
11BrFalse(28)
B2:
12Branch(13)
B3:
13CopyLoc[0](Arg0: &mut vector<String>)
14VecPopBack(5)
15StLoc[3](loc1: String)
16CopyLoc[1](Arg1: &mut vector<String>)
17VecPopBack(5)
18StLoc[6](loc4: String)
19MutBorrowLoc[4](loc2: VecMap<String, String>)
20MoveLoc[3](loc1: String)
21MoveLoc[6](loc4: String)
22Call vec_map::insert<String, String>(&mut VecMap<String, String>, String, String)
23MoveLoc[2](loc0: u64)
24LdU64(1)
25Add
26StLoc[2](loc0: u64)
27Branch(8)
B4:
28MoveLoc[1](Arg1: &mut vector<String>)
29Pop
30MoveLoc[0](Arg0: &mut vector<String>)
31Pop
32MoveLoc[4](loc2: VecMap<String, String>)
33Call new(VecMap<String, String>): Attributes
34Ret
}
}