thruput-sdk 0.58.0

Thruput smart-contract SDK for Rust (rv32 guest runtime and native test harness)
Documentation
pub use thruput_xdr::invoke_flag::InvokeFlag;
pub use thruput_xdr::invoke_flag::InvokeFlagSet;

#[derive(Clone, Copy)]
pub struct InvokeConfig {
    pub gas_limit: u64,
    pub flags: InvokeFlagSet,
}

impl InvokeConfig {
    pub fn new() -> Self {
        Self {
            gas_limit: u64::MAX,
            flags: InvokeFlagSet::default(),
        }
    }
}

impl Default for InvokeConfig {
    fn default() -> Self {
        Self::new()
    }
}