ton_lib 0.0.38

A collection of types and utilities for interacting with the TON network
use ton_lib_core::cell::TonCellRef;
use ton_lib_core::types::tlb_core::MsgAddress;
use ton_lib_core::TLBDerive;

/// ```raw
/// request_owner#d0c3bfea
///   query_id:uint64
///   dest:MsgAddress
///   forward_payload:^Cell
///   with_content:Bool
/// = InternalMsgBody;
/// ```
#[derive(Clone, Debug, PartialEq, TLBDerive)]
#[tlb_derive(prefix = 0xd0c3bfea, bits_len = 32, ensure_empty = true)]
pub struct SbtRequestOwnerMsg {
    pub query_id: u64,
    pub dst: MsgAddress, // address of the contract to which the ownership of SBT should be proven
    pub forward_payload: TonCellRef, // arbitrary data required by target contract
    pub with_content: bool, // if true, SBT's content cell will be included in message to contract.
}