multiversx_sc/api/uncallable/
call_value_api_uncallable.rs1use crate::api::{CallValueApi, CallValueApiImpl};
2
3use super::UncallableApi;
4
5impl CallValueApi for UncallableApi {
6 type CallValueApiImpl = UncallableApi;
7
8 fn call_value_api_impl() -> Self::CallValueApiImpl {
9 unreachable!()
10 }
11}
12
13impl CallValueApiImpl for UncallableApi {
14 fn check_not_payable(&self) {
15 unreachable!()
16 }
17
18 fn load_egld_value(&self, _dest: Self::BigIntHandle) {
19 unreachable!()
20 }
21
22 fn load_all_esdt_transfers(&self, _dest_handle: Self::ManagedBufferHandle) {
23 unreachable!()
24 }
25
26 fn esdt_num_transfers(&self) -> usize {
27 unreachable!()
28 }
29
30 fn load_all_transfers(&self, _dest_handle: Self::ManagedBufferHandle) {
31 unreachable!()
32 }
33}