pub struct VersionHelper;Implementations§
Source§impl VersionHelper
impl VersionHelper
pub fn get_data( version: WalletVersion, key_pair: &KeyPair, wallet_id: i32, ) -> Result<Cell, TonCellError>
pub fn get_code( version: WalletVersion, ) -> Result<&'static ArcCell, TonCellError>
pub fn get_version(code_hash: &TonHash) -> Result<&WalletVersion, TonCellError>
pub fn build_ext_msg<T: AsRef<[ArcCell]>>( version: WalletVersion, valid_until: u32, msg_seqno: u32, wallet_id: i32, msgs_refs: T, ) -> Result<Cell, TonCellError>
pub fn sign_msg( version: WalletVersion, msg_cell: &Cell, sign: &[u8], ) -> Result<Cell, TonCellError>
Auto Trait Implementations§
impl Freeze for VersionHelper
impl RefUnwindSafe for VersionHelper
impl Send for VersionHelper
impl Sync for VersionHelper
impl Unpin for VersionHelper
impl UnsafeUnpin for VersionHelper
impl UnwindSafe for VersionHelper
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more