jup-perps-client 1.2.0

Rust client for Jupiter Perpetuals Protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! This code was AUTOGENERATED using the codama library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun codama to update it.
//!
//! <https://github.com/codama-idl/codama>
//!

use borsh::BorshDeserialize;
use borsh::BorshSerialize;

#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Secp256k1Pubkey {
    pub prefix: u8,
    pub key: [u8; 32],
}