uses burn/mint/AccountPostState

This commit is contained in:
jonesmarvin8 2025-12-07 20:34:26 -05:00
parent 4bcfbb9bee
commit d77185ded4
3 changed files with 1598 additions and 1647 deletions

View File

@ -19,8 +19,8 @@ pub struct ProgramInput<T> {
/// Each program can derive up to `2^256` unique account IDs by choosing different
/// seeds. PDAs allow programs to control namespaced account identifiers without
/// collisions between programs.
#[derive(Serialize, Deserialize, Clone)]
#[cfg_attr(any(feature = "host", test), derive(Debug, PartialEq, Eq))]
#[derive(Serialize, Deserialize, Clone, PartialEq)]
#[cfg_attr(any(feature = "host", test), derive(Debug, Eq))]
pub struct PdaSeed([u8; 32]);
impl PdaSeed {
@ -51,8 +51,8 @@ impl From<(&ProgramId, &PdaSeed)> for AccountId {
}
}
#[derive(Serialize, Deserialize, Clone)]
#[cfg_attr(any(feature = "host", test), derive(Debug, PartialEq, Eq))]
#[derive(Serialize, Deserialize, Clone, PartialEq)]
#[cfg_attr(any(feature = "host", test), derive(Debug, Eq))]
pub struct ChainedCall {
pub program_id: ProgramId,
pub instruction_data: InstructionData,

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff