pub struct VmCaller {
pub libraries: Dict<HashBytes, LibDescr>,
pub behaviour_modifiers: BehaviourModifiers,
pub config: BlockchainConfigParams,
}Fields§
§libraries: Dict<HashBytes, LibDescr>§behaviour_modifiers: BehaviourModifiers§config: BlockchainConfigParamsImplementations§
Source§impl VmCaller
impl VmCaller
pub fn call_with_external_message_body( &self, account: &Account, body: Cell, ) -> Result<VmMessageOutput, VmMessageError>
pub fn call_with_external_message_body_ext( &self, account: &Account, body: Cell, args: &VmMessageArgs, debug: Option<&mut dyn Write>, ) -> Result<VmMessageOutput, VmMessageError>
pub fn call_with_internal_message_body( &self, account: &Account, amount: CurrencyCollection, body: Cell, ) -> Result<VmMessageOutput, VmMessageError>
pub fn call_with_internal_message_body_ext( &self, account: &Account, amount: CurrencyCollection, body: Cell, args: &VmMessageArgs, debug: Option<&mut dyn Write>, ) -> Result<VmMessageOutput, VmMessageError>
pub fn call_with_message( &self, account: &Account, msg: Cell, ) -> Result<VmMessageOutput, VmMessageError>
pub fn call_with_message_ext( &self, account: &Account, msg: Cell, args: &VmMessageArgs, debug: Option<&mut dyn Write>, ) -> Result<VmMessageOutput, VmMessageError>
pub fn call_tick_tock( &self, account: &Account, tick_tock: TickTock, ) -> Result<VmMessageOutput, VmMessageError>
pub fn call_tick_tock_ext( &self, account: &Account, tick_tock: TickTock, args: &VmMessageArgs, debug: Option<&mut dyn Write>, ) -> Result<VmMessageOutput, VmMessageError>
pub fn call_tx_ext( &self, account: &Account, tx_type: VmCallerTxInput, args: &VmMessageArgs, debug: Option<&mut dyn Write>, ) -> Result<VmMessageOutput, VmMessageError>
pub fn call_getter<T: VmGetterMethodId>( &self, account: &Account, method: T, stack: Vec<RcStackValue>, ) -> Result<VmGetterOutput, VmGetterError>
pub fn call_getter_ext<T: VmGetterMethodId>( &self, account: &Account, method: T, stack: Vec<RcStackValue>, args: &VmGetterArgs, debug: Option<&mut dyn Write>, ) -> Result<VmGetterOutput, VmGetterError>
Auto Trait Implementations§
impl Freeze for VmCaller
impl !RefUnwindSafe for VmCaller
impl !Send for VmCaller
impl !Sync for VmCaller
impl Unpin for VmCaller
impl UnsafeUnpin for VmCaller
impl !UnwindSafe for VmCaller
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more