Attribute Macro gatecall
#[gatecall]Expand description
Declare a secure call point as a publically-callable function. This does not include the implementation, but instead defines the call in the user-facing library.
#[secgate::gatecall]
pub fn increment_counter() -> Result<u32, TwzError> {}Note the empty body. The macro will fill it in automatically.