attributes
Module0x2dda…b12c
- Move path
- 0x2dda…b12c::attributes
- Functions
- 11 public, 0 entry
- Structs
- 1
- Friend modules
- None
attributes
Bytecode69 lines
The on-chain disassembly. Offsets are bytecode positions within each function.
// Move bytecode v6
module 2ddade053528a59efd0494bd876bccfb245166b59540cc1ed67d6e42ecc2b12c.attributes {
use 0000000000000000000000000000000000000000000000000000000000000001::ascii;
use 0000000000000000000000000000000000000000000000000000000000000002::vec_map;
struct Attributes has drop, store {
map: VecMap<String, String>
}
public new_from_vec(Arg0: vector<String>, Arg1: vector<String>): Attributes {
L2: loc0: String
L3: loc1: String
L4: loc2: u64
L5: loc3: VecMap<String, String>
L6: loc4: u64
B0:
0ImmBorrowLoc[0](Arg0: vector<String>)
1VecLen(3)
2ImmBorrowLoc[1](Arg1: vector<String>)
3VecLen(3)
4Eq
5BrFalse(7)
B1:
6Branch(9)
B2:
7LdConst[0](u64: 1)
8Abort
B3:
9LdU64(0)
10StLoc[4](loc2: u64)
11ImmBorrowLoc[0](Arg0: vector<String>)
12VecLen(3)
13StLoc[6](loc4: u64)
14Call vec_map::empty<String, String>(): VecMap<String, String>
15StLoc[5](loc3: VecMap<String, String>)
B4:
16CopyLoc[4](loc2: u64)
17CopyLoc[6](loc4: u64)
18Lt
19BrFalse(36)
B5:
20Branch(21)
B6:
21MutBorrowLoc[0](Arg0: vector<String>)
22VecPopBack(3)
23StLoc[2](loc0: String)
24MutBorrowLoc[1](Arg1: vector<String>)
25VecPopBack(3)
26StLoc[3](loc1: String)
27MutBorrowLoc[5](loc3: VecMap<String, String>)
28MoveLoc[2](loc0: String)
29MoveLoc[3](loc1: String)
30Call vec_map::insert<String, String>(&mut VecMap<String, String>, String, String)
31MoveLoc[4](loc2: u64)
32LdU64(1)
33Add
34StLoc[4](loc2: u64)
35Branch(16)
B7:
36MoveLoc[5](loc3: VecMap<String, String>)
37Pack[0](Attributes)
38Ret
}
Constants [
0 => u64: 1
]
}