# Smart Contracts

Everything Veilon does is enforced by smart contracts public, verifiable, and secure.

#### <mark style="color:yellow;">Features:</mark>

* Shielded Pools for each asset type
* zkVerifier Contracts for proof validation
* Bridge vaults for multi-chain flow
* Governance hooks for upgrades or parameter tuning

#### <mark style="color:yellow;">Security:</mark>

* Built-in fail safes
* Audit ready circuit logic
* Open source transparency with formal verification roadmap

```javascript
mapping(bytes32 => bool) public nullifiers;

function validateAndInsertNullifier(bytes32 nullifierHash) internal {
  require(!nullifiers[nullifierHash], "Nullifier already used");
  nullifiers[nullifierHash] = true;
}
```


---

# 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.veilon.io/platform-architecture/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.
