Matador Docs

Core Concepts

The fundamental architecture of the Matador permission system.

The Operating System for On-Chain Permissions

Matador is designed to be the standard for secure, gas-optimized permission management. It bridges the gap between human-readable intent and machine-executable logic.

System Architecture

The ecosystem consists of two distinct layers that work in tandem:

Key Components

Terminology

TermDefinition
PolicyA .matador file containing permission rules. Compiled to bytecode.
BytecodeThe compact, machine-readable binary representation of a policy.
ContextRuntime data (sender, target, value, calldata) available during execution.
InterpreterThe smart contract that executes the bytecode.
SubjectThe smart account or entity being restricted by the policy.

On this page