# Onchain Smart Contracts

SolvBTC deploys smart contracts on Ethereum and other EVM-compatible chains to manage SolvBTC minting and burning.

#### Mint Contract

When the Indexer detects and validates a confirmed deposit, it submits a Mint request to the contract.

* Mint requests include the Bitcoin transaction reference and the target EVM address
* The contract processes the request and updates the SolvBTC supply
* Minted SolvBTC is assigned to the user’s address

Different deposit amounts may follow different processing paths.

#### Burn Contract

When a user initiates redemption by burning SolvBTC, the Burn contract processes the request.

* The user calls the Burn function and specifies a Bitcoin receiving address
* The contract burns the corresponding amount of SolvBTC
* A Burn event is emitted with redemption parameters
* Subsequent BTC transfer processing continues offchain

#### Governance and Contract Control

The SolvBTC protocol applies governance mechanisms to control critical onchain contract operations. Governance is scoped according to the **nature and impact of the operation**, rather than enforced through a single uniform model.

* **Execution-level operations**, such as minting and burning, are primarily constrained by onchain contract logic and predefined execution rules. Certain execution paths additionally rely on approval workflows described in the Auditors section.
* **Protocol-level operations**, including contract upgrades and parameter changes, are governed through broader and more deliberate governance processes. These actions are infrequent and may involve expanded participation, time-delayed execution, or community-based decision mechanisms.

For details on governance mechanisms such as multisig control and timelock configurations, see the Smart Contract Governance page under Security.<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.solv.finance/solvbtc-technical-architecture/bitcoin-mainnet-architecture/onchain-smart-contracts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
