Function solana_sdk::account::shared_new_ref_data
source · fn shared_new_ref_data<T: Serialize, U: WritableAccount>(
lamports: u64,
state: &T,
owner: &Pubkey
) -> Result<RefCell<U>, Error>
fn shared_new_ref_data<T: Serialize, U: WritableAccount>(
lamports: u64,
state: &T,
owner: &Pubkey
) -> Result<RefCell<U>, Error>