pub fn spawn(
index: usize,
source: Source,
bounds: usize,
argv: &[&CStr],
spgs: &SpawnArgs
) -> u64Available on non-crate feature
simulator and crate feature ckb2023 only.Expand description
The Spawn and the latter two syscalls: Get Memory Limit and Set Content together, implement a way to call another CKB Script in a CKB Script. Note: available after ckb2023.
Returns success or a syscall error.