IRONQ

QueueConfig

Central configuration account for a job queue

The QueueConfig account stores all configuration for a single IronQ queue.

Seeds: ["queue", authority] — one queue per authority wallet.

Fields

FieldTypeDescription
authorityPubkeyQueue owner — can update config and pause
reward_mintPubkeySPL token used for rewards and staking (immutable after creation)
arbiterPubkeyDesignated dispute resolver
vaultPubkeyPDA token account holding stakes + rewards
min_worker_stakeu64Minimum tokens a worker must stake to register
job_timeouti64Seconds after claim before a job can be expired
slash_rate_bpsu16Basis points (0–10000) of stake slashed on failure
crank_reward_bpsu16Basis points (0–10000) of slash paid to cranker
total_jobs_createdu64Monotonic job counter (used in Job PDA seeds)
total_active_workersu32Count of currently registered workers
max_concurrent_jobsu8Max jobs a worker can hold simultaneously
is_pausedboolPause flag — blocks new jobs and claims

Notes

  • The reward_mint cannot be changed after creation. Changing it would orphan existing vault funds. Create a new queue for a different token.
  • max_concurrent_jobs is snapshotted into each Worker PDA at registration time.
  • When is_paused is true, create_job and claim_job are blocked but other lifecycle operations (submit, approve, dispute, crank) still work.

On this page