//! Types to help constrain inputs to functions to only what is used.
use fuel_types::ContractId;
pub mod reg_key;
/// Location of an instructing collected during runtime
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct InstructionLocation {
/// Context, i.e. current contract. None if running a script.
pub context: Option<ContractId>,
/// Offset from the IS register
pub offset: u64,
}