MCPcopy Create free account
hub / github.com/diem/move / for_script

Method for_script

language/move-vm/runtime/src/loader.rs:1197–1200  ·  view source on GitHub ↗
(loader: &'a Loader, script: Arc<Script>)

Source from the content-addressed store, hash-verified

1195 }
1196
1197 fn for_script(loader: &'a Loader, script: Arc<Script>) -> Self {
1198 let binary = BinaryType::Script(script);
1199 Self { loader, binary }
1200 }
1201
1202 //
1203 // Constant resolution

Callers

nothing calls this directly

Calls 1

ScriptClass · 0.70

Tested by

no test coverage detected