Skip to main content

replace_shogun

Function replace_shogun 

Source
pub fn replace_shogun(
    signer: Pubkey,
    slot: u64,
    new_rarity: u64,
    new_element: u64,
    prestige: Option<Pubkey>,
) -> Instruction
Expand description

Replace: return old to fodder, promote new from fodder. Same slot. prestige: if Some, include Prestige account (must exist).