pub fn new<T>(rent_allowance: T::Balance) -> Self
    where
        T: EnvTypes,
    {
        Self {
            rent_allowance: OffBalance::new(&rent_allowance),
            storage: ContractStorage::new(),
        }
    }
/// Creates a new contract account with the given initial rent allowance.
Creates a new contract account with the given initial rent allowance.
Creates a new contract account with the given initial rent allowance .
pub fn new<T>(rent_allowance: T::Balance) -> Self
    where
        T: EnvTypes,
    {
        Self {
            rent_allowance: OffBalance::new(&rent_allowance),
            storage: ContractStorage::new(),
        }
    }
pub fn new < T > ( rent_allowance : T :: Balance ) -> Self where T : EnvTypes , { Self { rent_allowance : OffBalance :: new ( & rent_allowance ) , storage : ContractStorage :: new ( ) , } }
Creates a new contract account with the given initial rent allowance.
Creates a new contract account with the given initial rent allowance .
rent_allowance
T::Balance
rent_allowance
T::Balance