multiversx_sc/api/uncallable/
vm_api_uncallable.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use crate::api::{CallTypeApi, HandleTypeInfo, StorageMapperApi, VMApi};

use super::UncallableApi;

impl CallTypeApi for UncallableApi {}

impl StorageMapperApi for UncallableApi {}

impl PartialEq for UncallableApi {
    fn eq(&self, _: &Self) -> bool {
        unreachable!()
    }
}

impl Eq for UncallableApi {}

impl VMApi for UncallableApi {}

impl HandleTypeInfo for UncallableApi {
    type ManagedBufferHandle = i32;

    type BigIntHandle = i32;

    type BigFloatHandle = i32;

    type EllipticCurveHandle = i32;

    type ManagedMapHandle = i32;
}