mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-05-21 08:29:30 +00:00
20 lines
440 B
Rust
20 lines
440 B
Rust
|
|
#![no_main]
|
||
|
|
|
||
|
|
use nssa_core::account::AccountWithMetadata;
|
||
|
|
use spel_framework::prelude::*;
|
||
|
|
|
||
|
|
risc0_zkvm::guest::entry!(main);
|
||
|
|
|
||
|
|
#[lez_program(instruction = "stablecoin_core::Instruction")]
|
||
|
|
mod stablecoin {
|
||
|
|
#[allow(unused_imports)]
|
||
|
|
use super::*;
|
||
|
|
|
||
|
|
#[instruction]
|
||
|
|
pub fn noop(account: AccountWithMetadata) -> SpelResult {
|
||
|
|
Ok(SpelOutput::states_only(stablecoin_program::noop::noop(
|
||
|
|
account,
|
||
|
|
)))
|
||
|
|
}
|
||
|
|
}
|