Function orao_solana_vrf::orao_vrf::update_network

source ·
pub fn update_network(
    ctx: Context<'_, '_, '_, '_, UpdateNetwork<'_>>,
    fee: u64,
    config_authority: Pubkey,
    fulfillment_authorities: Vec<Pubkey>,
    token_fee_config: Option<OraoTokenFeeConfig>,
) -> Result<()>
Expand description

Performs VRF configuration update (for required accounts see crate::UpdateNetwork).

  • fee – request fee (in lamports)
  • config_authority – VRF config update authority
  • fulfillment_authorities – randomness fulfillment authorities
  • token_fee_config – token fee configuration

Treasury is given via instruction accounts.