rialo-s-loader-v4-interface 0.3.0

Solana loader V4 interface.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) Subzero Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
// This file is either (a) original to Subzero Labs, Inc. or (b) derived from the Anza codebase and modified by Subzero Labs, Inc.

//! The v4 built-in loader program.
//!
//! This is the loader of the program runtime v2.
#![cfg_attr(feature = "frozen-abi", feature(min_specialization))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

pub mod instruction;
pub mod state;

/// Cooldown before a program can be un-/redeployed again
pub const DEPLOYMENT_COOLDOWN_IN_SLOTS: u64 = 1;