pub fn uninit(
        addr: MsgAddressInt,
        last_trans_lt: u64,
        last_paid: u32,
        balance: CurrencyCollection
    ) -> Self {
        let storage = AccountStorage::with_params(last_trans_lt, balance, AccountState::AccountUninit);
        let bits = storage.write_to_new_cell().unwrap().length_in_bits();
        let storage_stat = StorageInfo {
            used: StorageUsed::with_values(1, bits as u64, 0),
            last_paid,
            due_payment: None,
        };
        let stuff = AccountStuff {
            addr,
            storage_stat,
            storage,
        };
        Account::with_stuff(stuff)
    }
/// create uninit account - for test purposes
create uninit account - for test purposes
create uninit account - for test purposes
pub fn uninit(
        addr: MsgAddressInt,
        last_trans_lt: u64,
        last_paid: u32,
        balance: CurrencyCollection
    ) -> Self {
        let storage = AccountStorage::with_params(last_trans_lt, balance, AccountState::AccountUninit);
        let bits = storage.write_to_new_cell().unwrap().length_in_bits();
        let storage_stat = StorageInfo {
            used: StorageUsed::with_values(1, bits as u64, 0),
            last_paid,
            due_payment: None,
        };
        let stuff = AccountStuff {
            addr,
            storage_stat,
            storage,
        };
        Account::with_stuff(stuff)
    }
pub fn uninit ( addr : MsgAddressInt , last_trans_lt : u64 , last_paid : u32 , balance : CurrencyCollection ) -> Self { let storage = AccountStorage :: with_params ( last_trans_lt , balance , AccountState :: AccountUninit ) ; let bits = storage . write_to_new_cell ( ) . unwrap ( ) . length_in_bits ( ) ; let storage_stat = StorageInfo { used : StorageUsed :: with_values ( 1 , bits as u64 , 0 ) , last_paid , due_payment : None , } ; let stuff = AccountStuff { addr , storage_stat , storage , } ; Account :: with_stuff ( stuff ) }
create uninit account - for test purposes
create uninit account - for test purposes
addr
MsgAddressInt
last_trans_lt
u64
last_paid
u32
balance
CurrencyCollection
addr
MsgAddressInt
last_trans_lt
u64
last_paid
u32
balance
CurrencyCollection