(ctx: Context<Initialize>, lookback_window: i64)
| 14 | use super::*; |
| 15 | |
| 16 | pub fn initialize(ctx: Context<Initialize>, lookback_window: i64) -> Result<()> { |
| 17 | initialize::handler(ctx, lookback_window) |
| 18 | } |
| 19 | pub fn calc(ctx: Context<Calc>) -> Result<ThreadResponse> { |
| 20 | calc::handler(ctx) |
| 21 | } |