Function ink_env::test::transfer_in

source ·
pub fn transfer_in<T>(value: T::Balance)where
    T: Environment<Balance = u128>,
Expand description

Transfers value from the caller account to the contract.

Please note that the acting accounts should be set with set_caller() and set_callee() beforehand.