# [EXAIP-24] Rewards Controller Update

- Space: [Exactly Protocol](https://snapshot.box/s:gov.exa.eth.md)
- Author: 0x13FD608F64C9dE7627e28C8906350ad4F0E1C24d
- State: Passed
- Voting type: Basic
- Start: 2025-04-03 18:21 UTC
- End: 2025-04-08 18:21 UTC
- Votes: 11
- Quorum: 100,000 voting power
- Discussion: https://exact.ly/discord
- Open in Snapshot: https://snapshot.box/#/s:gov.exa.eth/proposal/0x34118a8398eb44831ae3db64dda7097a2137a3405ec21f514f3429defe6d0760

## Results

- For: 470,477.83 voting power, 100.0%
- Against: 0 voting power, 0.0%
- Abstain: 0 voting power, 0.0%

## Proposal

**Proposal ID:** EXAIP-24  
**Proposer:** Exa Labs  
**Date:** April 2, 2025  

## Summary

This proposal introduces a new implementation to the Exactly Protocol’s [Rewards Controller](https://docs.exact.ly/guides/protocol/rewardscontroller). The new design extends reward distributions to fixed deposits while incorporating several gas optimizations to ensure low transaction costs when interacting with Markets or claiming reward assets.  

## Background

The `RewardsController` contract manages the distribution of reward assets across the Exactly Protocol. Until now, rewards were only allocated to variable deposits, variable borrows, and fixed borrows. Due to technical limitations, fixed deposits were excluded. This proposal addresses those limitations, enabling fair and efficient reward distribution to fixed deposit positions.  

## Technical Implementation

The proposed changes enable rewards to be distributed to fixed-interest rate deposits. Rewards previously allocated to variable-rate deposits will now be equally shared with fixed-rate deposits. Fixed depositors will be able to view their new reward deposit rate.  

To support this, new storage variables are added to the `Market Contract` to consolidate users’ fixed deposits and borrowings more efficiently. This reduces the gas cost of reward calculations by up to 70% and improves the codebase for future enhancements.  

## Audits

- [ABDK audit report](https://github.com/exactly/audits/blob/main/ABDK%20Rewards%20Controller%20Update%20(Mar-25)pdf.pdf)  
- [Github diff comparison](https://github.com/exactly/protocol/compare/main...next)  

## Conclusion

This upgrade enhances the Rewards Controller by expanding reward distribution to fixed deposits and optimizing gas usage. It represents a meaningful step toward improving user incentives and protocol efficiency.

---

To vote or create proposals from an AI assistant, connect the Snapshot MCP at https://mcp.snapshot.box

