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

node_metadata

Module0xfa65…814e
Move path
0xfdc8…ea77::node_metadata
Functions
109 public, 0 entry
Structs
1
Friend modules
None
node_metadata

Bytecode107 lines

The on-chain disassembly. Offsets are instruction numbers within each function.

// Move bytecode v7
module fdc88f7d7cf30afab2f82e8380d11ee8f70efb90e863d1de8616fae1bb09ea77.node_metadata {
use 0000000000000000000000000000000000000000000000000000000000000001::string;
use 0000000000000000000000000000000000000000000000000000000000000002::vec_map;
 
struct NodeMetadata has copy, drop, store {
image_url: String,
project_url: String,
description: String,
extra_fields: VecMap<String, String>
}
 
public new(Arg0: String, Arg1: String, Arg2: String): NodeMetadata {
B0:
0MoveLoc[0](Arg0: String)
1MoveLoc[1](Arg1: String)
2MoveLoc[2](Arg2: String)
3Call vec_map::empty<String, String>(): VecMap<String, String>
4Pack[0](NodeMetadata)
5Ret
}
 
public set_image_url(Arg0: &mut NodeMetadata, Arg1: String) {
B0:
0MoveLoc[1](Arg1: String)
1MoveLoc[0](Arg0: &mut NodeMetadata)
2MutBorrowField[0](NodeMetadata.image_url: String)
3WriteRef
4Ret
}
 
public set_project_url(Arg0: &mut NodeMetadata, Arg1: String) {
B0:
0MoveLoc[1](Arg1: String)
1MoveLoc[0](Arg0: &mut NodeMetadata)
2MutBorrowField[1](NodeMetadata.project_url: String)
3WriteRef
4Ret
}
 
public set_description(Arg0: &mut NodeMetadata, Arg1: String) {
B0:
0MoveLoc[1](Arg1: String)
1MoveLoc[0](Arg0: &mut NodeMetadata)
2MutBorrowField[2](NodeMetadata.description: String)
3WriteRef
4Ret
}
 
public set_extra_fields(Arg0: &mut NodeMetadata, Arg1: VecMap<String, String>) {
B0:
0MoveLoc[1](Arg1: VecMap<String, String>)
1MoveLoc[0](Arg0: &mut NodeMetadata)
2MutBorrowField[3](NodeMetadata.extra_fields: VecMap<String, String>)
3WriteRef
4Ret
}
 
public image_url(Arg0: &NodeMetadata): String {
B0:
0MoveLoc[0](Arg0: &NodeMetadata)
1ImmBorrowField[0](NodeMetadata.image_url: String)
2ReadRef
3Ret
}
 
public project_url(Arg0: &NodeMetadata): String {
B0:
0MoveLoc[0](Arg0: &NodeMetadata)
1ImmBorrowField[1](NodeMetadata.project_url: String)
2ReadRef
3Ret
}
 
public description(Arg0: &NodeMetadata): String {
B0:
0MoveLoc[0](Arg0: &NodeMetadata)
1ImmBorrowField[2](NodeMetadata.description: String)
2ReadRef
3Ret
}
 
public extra_fields(Arg0: &NodeMetadata): &VecMap<String, String> {
B0:
0MoveLoc[0](Arg0: &NodeMetadata)
1ImmBorrowField[3](NodeMetadata.extra_fields: VecMap<String, String>)
2Ret
}
 
public(friend) default(): NodeMetadata {
B0:
0LdConst[0](vector<u8>: "" /..)
1Call string::utf8(vector<u8>): String
2LdConst[0](vector<u8>: "" /..)
3Call string::utf8(vector<u8>): String
4LdConst[0](vector<u8>: "" /..)
5Call string::utf8(vector<u8>): String
6Call vec_map::empty<String, String>(): VecMap<String, String>
7Pack[0](NodeMetadata)
8Ret
}
 
Constants [
0 => vector<u8>: "" // interpreted as UTF8 string
]
}