[][src]Function sabre_sdk::execute_entrypoint

pub unsafe fn execute_entrypoint<F>(
    payload_ptr: WasmPtr,
    signer_ptr: WasmPtr,
    signature_ptr: WasmPtr,
    apply: F
) -> i32 where
    F: Fn(&TpProcessRequest, &mut dyn TransactionContext) -> Result<bool, ApplyError>, 

-1: Failed to deserialize payload -2: Failed to deserialize signer -3: apply returned InvalidTransaction -4: apply returned InternalError