neo_solidity/cli/bytecode/bytecode_builtins/builtin_call/
runtime.rs1fn emit_runtime_notify(
2 bytecode: &mut Vec<u8>,
3 use_callt: bool,
4 token_patches: &mut Vec<MethodTokenPatch>,
5) {
6 emit_native_contract_call(
10 bytecode,
11 ir::NativeContract::StdLib,
12 "deserialize",
13 1,
14 use_callt,
15 token_patches,
16 );
17 bytecode.push(0x50); emit_syscall(bytecode, "System.Runtime.Notify");
19 bytecode.push(0x11); }
21
22fn emit_runtime_check_witness(bytecode: &mut Vec<u8>) {
23 emit_syscall(bytecode, "System.Runtime.CheckWitness");
24}