MCPcopy Create free account
hub / github.com/clockwork-xyz/examples / initialize

Function initialize

pyth_stats/programs/pyth_stats/src/lib.rs:16–18  ·  view source on GitHub ↗
(ctx: Context<Initialize>, lookback_window: i64)

Source from the content-addressed store, hash-verified

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 }

Callers

nothing calls this directly

Calls 1

handlerFunction · 0.50

Tested by

no test coverage detected