use crate::{
api::{CallValueApi, CallValueApiImpl},
types::EsdtTokenType,
};
use super::UncallableApi;
impl CallValueApi for UncallableApi {
type CallValueApiImpl = UncallableApi;
fn call_value_api_impl() -> Self::CallValueApiImpl {
unreachable!()
}
}
impl CallValueApiImpl for UncallableApi {
fn check_not_payable(&self) {
unreachable!()
}
fn load_egld_value(&self, _dest: Self::BigIntHandle) {
unreachable!()
}
fn load_single_esdt_value(&self, _dest: Self::BigIntHandle) {
unreachable!()
}
fn token(&self) -> Option<Self::ManagedBufferHandle> {
unreachable!()
}
fn esdt_token_nonce(&self) -> u64 {
unreachable!()
}
fn esdt_token_type(&self) -> EsdtTokenType {
unreachable!()
}
fn esdt_num_transfers(&self) -> usize {
unreachable!()
}
fn esdt_value_by_index(&self, _index: usize) -> Self::BigIntHandle {
unreachable!()
}
fn token_by_index(&self, _index: usize) -> Self::ManagedBufferHandle {
unreachable!()
}
fn esdt_token_nonce_by_index(&self, _index: usize) -> u64 {
unreachable!()
}
fn esdt_token_type_by_index(&self, _index: usize) -> EsdtTokenType {
unreachable!()
}
}