Trait Seed

Source
pub trait Seed {
    const SEED: &'static [u8];
}
Expand description

Data type that has SEED.

Required Associated Constants§

Source

const SEED: &'static [u8]

Prefix seed for program derived addresses.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Seed for TradeData

Source§

const SEED: &'static [u8] = b"trade_event_data"

Source§

impl Seed for Deposit

Source§

const SEED: &'static [u8] = b"deposit"

Source§

impl Seed for Glv

Source§

const SEED: &'static [u8] = b"glv"

Source§

impl Seed for GlvDeposit

Source§

const SEED: &'static [u8] = b"glv_deposit"

Source§

impl Seed for GlvShift

Source§

const SEED: &'static [u8] = Shift::SEED

Source§

impl Seed for GlvWithdrawal

Source§

const SEED: &'static [u8] = b"glv_withdrawal"

Source§

impl Seed for GtExchange

Source§

const SEED: &'static [u8] = b"gt_exchange"

Source§

impl Seed for GtExchangeVault

Source§

const SEED: &'static [u8] = b"gt_exchange_vault"

Source§

impl Seed for Market

Source§

const SEED: &'static [u8] = b"market"

Source§

impl Seed for Oracle

Source§

const SEED: &'static [u8] = b"oracle"

Source§

impl Seed for PriceFeed

Source§

const SEED: &'static [u8] = b"price_feed"

Source§

impl Seed for Order

Source§

const SEED: &'static [u8] = b"order"

Source§

impl Seed for Position

Source§

const SEED: &'static [u8] = b"position"

Source§

impl Seed for Shift

Source§

const SEED: &'static [u8] = b"shift"

Source§

impl Seed for Store

Source§

const SEED: &'static [u8] = b"data_store"

Source§

impl Seed for ReferralCodeV2

Source§

const SEED: &'static [u8] = b"referral_code"

Source§

impl Seed for UserHeader

Source§

const SEED: &'static [u8] = b"user"

Source§

impl Seed for Withdrawal

Source§

const SEED: &'static [u8] = b"withdrawal"