"""SpendingProof model — spending proof for a transaction input."""

from typing import Dict

from pydantic import BaseModel, Field


class SpendingProof(BaseModel):
    """Spending proof for a transaction input."""

    proof_bytes: str = Field(alias="proofBytes")
    extension: Dict[str, str] = Field(default_factory=dict)
