> For the complete documentation index, see [llms.txt](https://kagami-1.gitbook.io/kagami-build-trust-onchain/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kagami-1.gitbook.io/kagami-build-trust-onchain/features/on-chain-risk-records.md).

# On-chain Risk Records

Kagami an explicit on-chain record of an entity’s development and adherence to its own risk management policies. The record will list at a minimum the risk management policies that apply to a wallet and show the date/time of any changes made to the policy list. Activity logged may include:

* Policy added
* Policy removed
* Policy parameter changed
* Policy breached
* Policy adherence (either an explicit record everytime a new transaction occurs or possibly a daily summary).

The exact nature of the record can be implemented in several ways and community feedback will determine which method is most suitable. Several options include:

NFT:- Audit log stored in IPFS and every change writes a new IPFS record that contains the same information as the old record with additional information. NFT metadata is changed to point to new URI.

Event Logs:- Kagami smart contract records all changes using ethereum (or polygon) event logs.&#x20;

There is also the option to include a basic record on-chain and a more detailed record within Kagami (not on-chain) for viewing by a private group such as investors.&#x20;

Most likely a Kagami dashboard style UI will be required to allow all on-chain records to be easily found/searched however all on-chain information could be found using web3js.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://kagami-1.gitbook.io/kagami-build-trust-onchain/features/on-chain-risk-records.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.
