pub fn frozen(
        addr: MsgAddressInt,
        last_trans_lt: u64,
        last_paid: u32,
        state_hash: UInt256,
        due_payment: Option<Grams>,
        balance: CurrencyCollection
    ) -> Self {
        let storage = AccountStorage::frozen(last_trans_lt, balance, state_hash);
        let used = StorageUsed::calculate_for_struct(&storage).unwrap();
        let storage_stat = StorageInfo {
            used,
            last_paid,
            due_payment,
        };
        let stuff = AccountStuff {
            addr,
            storage_stat,
            storage,
        };
        Account::with_stuff(stuff)
    }
/// create frozen account - for test purposes
create frozen account - for test purposes
create frozen account - for test purposes
pub fn frozen(
        addr: MsgAddressInt,
        last_trans_lt: u64,
        last_paid: u32,
        state_hash: UInt256,
        due_payment: Option<Grams>,
        balance: CurrencyCollection
    ) -> Self {
        let storage = AccountStorage::frozen(last_trans_lt, balance, state_hash);
        let used = StorageUsed::calculate_for_struct(&storage).unwrap();
        let storage_stat = StorageInfo {
            used,
            last_paid,
            due_payment,
        };
        let stuff = AccountStuff {
            addr,
            storage_stat,
            storage,
        };
        Account::with_stuff(stuff)
    }
pub fn frozen ( addr : MsgAddressInt , last_trans_lt : u64 , last_paid : u32 , state_hash : UInt256 , due_payment : Option < Grams > , balance : CurrencyCollection ) -> Self { let storage = AccountStorage :: frozen ( last_trans_lt , balance , state_hash ) ; let used = StorageUsed :: calculate_for_struct ( & storage ) . unwrap ( ) ; let storage_stat = StorageInfo { used , last_paid , due_payment , } ; let stuff = AccountStuff { addr , storage_stat , storage , } ; Account :: with_stuff ( stuff ) }
create frozen account - for test purposes
create frozen account - for test purposes
addr
MsgAddressInt
last_trans_lt
u64
last_paid
u32
state_hash
UInt256
due_payment
Option<Grams>
balance
CurrencyCollection
addr
MsgAddressInt
last_trans_lt
u64
last_paid
u32
state_hash
UInt256
due_payment
Option<Grams>
balance
CurrencyCollection