Function build_nef_with_tokens
Source pub fn build_nef_with_tokens(
script: &[u8],
compiler: &str,
source: &str,
tokens: &[MethodToken],
) -> Result<Vec<u8>, String>
Expand description
Build a NEF file with method tokens for cross-contract calls.
§Arguments
script - The NeoVM bytecode
compiler - Compiler identifier string (max 64 bytes)
source - Optional source URL (max 256 bytes)
tokens - Array of method tokens for cross-contract calls
§Returns
Complete NEF file as byte vector