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

API

url

Module0x0000…0002
Move path
0x0000…0002::url
Functions
44 public, 0 entry
Structs
1
Friend modules
None
url

Bytecode42 lines

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

// Move bytecode v7
module 2.url {
use 0000000000000000000000000000000000000000000000000000000000000001::ascii;
 
struct Url has copy, drop, store {
url: String
}
 
public new_unsafe(Arg0: String): Url {
B0:
0MoveLoc[0](Arg0: String)
1Pack[0](Url)
2Ret
}
 
public new_unsafe_from_bytes(Arg0: vector<u8>): Url {
B0:
0MoveLoc[0](Arg0: vector<u8>)
1Call ascii::string(vector<u8>): String
2Pack[0](Url)
3Ret
}
 
public inner_url(Arg0: &Url): String {
B0:
0MoveLoc[0](Arg0: &Url)
1ImmBorrowField[0](Url.url: String)
2ReadRef
3Ret
}
 
public update(Arg0: &mut Url, Arg1: String) {
B0:
0MoveLoc[1](Arg1: String)
1MoveLoc[0](Arg0: &mut Url)
2MutBorrowField[0](Url.url: String)
3WriteRef
4Ret
}
 
}