add function triggered_since field

This commit is contained in:
Mitch Gildenberg 2023-07-07 13:36:39 -04:00
parent fec5af232e
commit 6bf375c175
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "switchboard-solana" name = "switchboard-solana"
version = "0.8.11" version = "0.8.12"
edition = "2021" edition = "2021"
description = "A Rust library to interact with Switchboard accounts." description = "A Rust library to interact with Switchboard accounts."
readme = "README.md" readme = "README.md"

View File

@ -132,8 +132,11 @@ pub struct FunctionAccountData {
/// The unix timestamp when the function was created. /// The unix timestamp when the function was created.
pub created_at: i64, pub created_at: i64,
/// Time this function has been sitting in an explicitly triggered state
pub triggered_since: i64,
/// Reserved. /// Reserved.
pub _ebuf: [u8; 871], pub _ebuf: [u8; 863],
} }
impl anchor_lang::AccountDeserialize for FunctionAccountData { impl anchor_lang::AccountDeserialize for FunctionAccountData {