---
# System prepended metadata

title: Kusama Indexing using squid ( ORDUM)

---

# Kusama Indexing using squid (ORDUM)

This document will serve as a guide through on what data should be indexed and the reasoning behind it.

Ordum serving as grant aggregator and management tool, treasury funds play a great role on public good projects for which Ordum is positioned to support submitting of proposals and managing grant funds.

Entities to be tracked in those pallet included but not limited to:
* Events
* Call (functions)
* Storage

* **
## Pallets to be indexed
1. **Pallet Balances**
*Description*
* Event Indexed
    * Transfer
    
* Calls
    * transfer_keep_alive
    
* Storage
    * Account

2. **Pallet Treasury**
*Description*
* Event Indexed
    * Proposed, Spending, Awarded, Rejected, SpendApproved
    
* Calls
    * propose_spend, reject_proposal, approve_proposal
    
* Storage
    * Proposal, Approval


3. **Pallet Referenda**
*Description*
* Event Indexed
    * Submitted, DecisionDepositPlaced, Refunded,
    DecisionStarted, Confirmed, ConfirmStarted, Approved, Rejected, Cancelled, SubmissionDepositRefunded
    
* Calls
    * submit, place_decision_deposit, refund_decision_deposit, cancell, kill, refund_submission_deposit
    
* Storage
    * ReferendumInfoFor, MetadataOf, TrackQueue

4. **Pallet Preimage**
*Description*
* Event Indexed
    * Noted, Requested, Cleared
    
* Calls
    * note_preimage, request_preimage
    
* Storage
    * StatusFor, PreimageFor

* **

The data will be indexed from blocknumber at which OpenGov was enabled and updated.



## Why subsquid?
