mirror of https://github.com/certusone/oyster.git
feat: add claimed vaa format
This commit is contained in:
parent
e35050ec15
commit
8fc5e15432
|
@ -1,2 +1,18 @@
|
||||||
// 40 - ExecutedVAA (claim)
|
// 40 - ExecutedVAA (claim)
|
||||||
export const NOP = 0;
|
export const NOP = 0;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
#[repr(C)]
|
||||||
|
#[derive(Clone, Copy, Debug, Default, PartialEq)]
|
||||||
|
pub struct ClaimedVAA {
|
||||||
|
/// hash of the vaa
|
||||||
|
pub hash: [u8; 32],
|
||||||
|
/// time the vaa was submitted
|
||||||
|
pub vaa_time: u32,
|
||||||
|
|
||||||
|
/// Is `true` if this structure has been initialized.
|
||||||
|
pub is_initialized: bool,
|
||||||
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
Loading…
Reference in New Issue