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

Function memo

pyth-trigger-test/programs/pyth-trigger-test/src/lib.rs:65–70  ·  view source on GitHub ↗
(ctx: Context<Memo>)

Source from the content-addressed store, hash-verified

63 }
64
65 pub fn memo(ctx: Context<Memo>) -> Result<()> {
66 let price_account_info = &ctx.accounts.price;
67 let price_feed: PriceFeed = load_price_feed_from_account_info(&price_account_info).unwrap();
68 msg!("{:?}", price_feed);
69 Ok(())
70 }
71}
72
73#[derive(Accounts)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected