multiversx_sc/api/
call_value_api.rsuse super::{ErrorApiImpl, HandleTypeInfo, ManagedTypeApiImpl};
pub trait CallValueApi: HandleTypeInfo {
type CallValueApiImpl: CallValueApiImpl
+ HandleTypeInfo<
ManagedBufferHandle = Self::ManagedBufferHandle,
BigIntHandle = Self::BigIntHandle,
BigFloatHandle = Self::BigFloatHandle,
EllipticCurveHandle = Self::EllipticCurveHandle,
>;
fn call_value_api_impl() -> Self::CallValueApiImpl;
}
pub trait CallValueApiImpl: ErrorApiImpl + ManagedTypeApiImpl + Sized {
fn check_not_payable(&self);
fn load_egld_value(&self, dest_handle: Self::BigIntHandle);
fn load_all_esdt_transfers(&self, dest_handle: Self::ManagedBufferHandle);
fn esdt_num_transfers(&self) -> usize;
}