# RIF/USD Subsidy

**URL:** <https://forum.moneyonchain.com/t/rif-usd-subsidy/476>\
**Category:** MOC Improvement Proposals\
**Created:** [October 5, 2026, 5:17pm UTC](https://forum.moneyonchain.com/t/rif-usd-subsidy/476 "2026-10-05T17:17:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbokser](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.moneyonchain.com/jbokser/32/228_2.png) [@jbokser](https://forum.moneyonchain.com/u/jbokser)\
**Post date:** [October 5, 2026, 5:17pm UTC](https://forum.moneyonchain.com/t/rif-usd-subsidy/476/1 "2026-10-05T17:17:57Z")

</div>

> 📝 `MIP#264001`

> ⚠ **Status: `Implemented`**

## Overview

When the `RIF/USD` CoinPair was incorporated into RoC, its revenue sources were configured so that RoC users pay only for the price publications needed by the protocol, principally during mint and redeem operations and when liquidations occur. This demand-driven model compensates the OMoC oracle operators without charging RoC users for publications that RoC itself does not need.

Rootstock Labs considers the `RIF/USD` price valuable beyond the RoC protocol and wants the OMoC oracles to publish it continuously. It therefore intends to subsidize those additional publications instead of assigning their cost to RoC users.

The main goal of this proposal is to provide the mechanism for that subsidy. It deploys an `RBTC → MOC` reverse auction to which Rootstock Labs can send RBTC. The auction converts the RBTC through the established swapper and sends the resulting MOC to the `RIF/USD` CoinPair, where it is added to the other revenue sources that compensate its oracle operators. The proposal also registers a `TaskTriggerOrder` for the auction in OMoC’s `TasksRunner`, allowing participating operators to execute it when its RBTC balance reaches the configured threshold.

The proposal also consolidates swap execution for the RIF and DOC buckets. It configures the shared `MocSwapperV3Multihop` with the required paths while retaining the existing maximum-swap providers, switches the two DOC/MOC reverse auctions to that swapper, and makes it the guard’s swapper for both bucket directions. This retires the dedicated RIF/DOC multi-hop swapper from active use.

* * *

## Proposed Changes

### 1. Create the RIF/USD subsidy reverse auction

The proposal deploys a `MocReverseAuction` that Rootstock Labs can fund by sending it RBTC. The auction is configured with:

| Parameter | Value |
| --- | --- |
| Input token | RBTC |
| Output token | MOC, read from the RIF bucket’s `feeToken` |
| Output account | `RIF/USD` CoinPair, read from the RIF bucket’s peg container |
| Swapper | The existing `RBTC → MOC` swapper used by the guard’s execution-fee recipient |
| Order threshold, price provider, and slippage | The values used by that existing RBTC-to-MOC reverse auction |

Reading these values at deployment keeps the new auction aligned with the active protocol configuration without duplicating addresses or economic parameters in the deployment inputs.

### 2. Register its task in OMOC `TasksRunner`

The proposal deploys a `TaskTriggerOrder` for the new reverse auction and adds it to OMOC’s `TasksRunner` at [`0xd9...b975`](https://rootstock.blockscout.com/address/0xd99a43ba443068Ea539CeB623AE24e6C9910b975?tab=contract).

The task becomes eligible when the reverse auction has accumulated at least its order threshold in RBTC. The task’s revert backoff is 36,000 seconds. On execution, it triggers the auction and the resulting MOC is transferred directly to the `RIF/USD` CoinPair.

### 3. Move RIF/DOC paths to the shared multi-hop swapper

The proposal configures [`MocSwapperV3Multihop`](https://rootstock.blockscout.com/address/0x24122d7FF0EF57C18e5C333E2c7bD863e4F23c73?tab=contract) at `0x24...3c73` with these paths:

| Conversion | Path |
| --- | --- |
| DOC → MOC | DOC → USD0 → WRBTC → MOC |
| MOC → DOC | MOC → WRBTC → USD0 → DOC |
| DOC → RIF | DOC → USD0 → RIF |
| RIF → DOC | RIF → USD0 → DOC |

All routes configured by this proposal use USD0 where a USD-denominated intermediate asset is needed. They no longer use pools with USD₮, including the DOC-to-MOC and MOC-to-DOC routes.

The changer reads the RIF and DOC token addresses, the MOC fee token, and the existing maximum-swap providers from the deployed guard, buckets, and deprecated swapper. It preserves those providers when it configures the shared swapper.

### 4. Reconfigure the auctions and guard

The following existing reverse auctions will use the shared multi-hop swapper:

| Contract | Address | Conversion |
| --- | --- | --- |
| `RevAuctionDOCtoMOC_rocRewardsBuffer` | [`0x88...1c9a`](https://rootstock.blockscout.com/address/0x883e3433c236Abd3c301FFc9B59EA478C0C21c9a?tab=contract) | DOC → MOC |
| `RevAuctionMOCtoDOC_docBucket` | [`0x3E...7bBE`](https://rootstock.blockscout.com/address/0x3EB689a01c4e8ccaC7c72097104FF37Ccf907bBE?tab=contract) | MOC → DOC |

The `MocMultiCollateralGuard` at [`0x02...F46F`](https://rootstock.blockscout.com/address/0x0237Ad1f0831b479a344E56646BC48B0885cF46F?tab=contract) will also use the shared swapper for both RIF-to-DOC and DOC-to-RIF bucket conversions.

This removes the dedicated swapper at [`0x0E...7ba0`](https://rootstock.blockscout.com/address/0x0E60154be285810DFa1d64FaC5acb4804d7A7ba0?tab=contract) from the active paths covered by this proposal.

* * *

## Expected Outcome

After execution:

- Rootstock Labs can subsidize the `RIF/USD` oracle service by sending RBTC to a dedicated reverse auction, whose MOC output is added to the CoinPair’s other revenue sources;
- OMOC `TasksRunner` operators can trigger that auction once its RBTC threshold is met;
- DOC/MOC and RIF/DOC conversions use the shared `MocSwapperV3Multihop` with the specified routes;
- the two existing DOC/MOC reverse auctions use the shared swapper; and
- the RIF/DOC dedicated swapper is no longer used by the guard or those reverse-auction flows.

* * *

## Verification

The implementation includes a Rootstock mainnet-fork test. It deploys and executes the changer against the deployed contracts, verifies the configured paths and maximum-swap providers, executes swaps through each of the four paths, and funds and triggers the new reverse auction. The test verifies that the `RIF/USD` CoinPair receives MOC and that the task does not enter its revert backoff.

* * *

## Governance Process

The change takes effect only when the approved changer is executed through MoC governance.

Before the vote, the deployed changer, reverse auction, and task addresses will be added to this document with links to their verified source code.

* * *

## Changer Contract

### The changer contract to vote would be:

| Name | Address (and link to verified code in RSK blockscout explorer) |
| --- | --- |
| `MIP264001RifUsdSubsidyChanger` | [`0x7a3ae8fd298aE810Cb4D513582a0455919398f1b`](https://rootstock.blockscout.com/address/0x7a3ae8fd298aE810Cb4D513582a0455919398f1b?tab=contract) |

> ℹ Info: All changes, upgrades, and reconfigurations to existing contracts, including the exact parameter values, can be audited directly in the changer contract, whose [source code is published and verified in the block explorer](https://rootstock.blockscout.com/address/0x7a3ae8fd298aE810Cb4D513582a0455919398f1b?tab=contract) linked above.

## New Contracts

| Name | Address |
| --- | --- |
| `RevAuctionRBTCtoMOC_rifUsdSubsidy` | [`0x50...fa40`](https://rootstock.blockscout.com/address/0x5049ef3DD852ad07095E0ee0Bc9d65A5468efa40?tab=contract) |
| `TaskTriggerOrderRBTCtoMOC_rifUsdSubsidy` | [`0xab...C640`](https://rootstock.blockscout.com/address/0xab51493820D74DC5ee7db6aEc519ca5Ea5C2C640?tab=contract) |

---

<div class="post-metadata">

**Author:** ![jbokser](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.moneyonchain.com/jbokser/32/228_2.png) [@jbokser](https://forum.moneyonchain.com/u/jbokser)\
**Post date:** [October 5, 2026, 7:53pm UTC](https://forum.moneyonchain.com/t/rif-usd-subsidy/476/2 "2026-10-05T19:53:47Z")

</div>

📣 **Call to MOC holders** : [This proposal](https://forum.moneyonchain.com/t/rif-usd-subsidy) is being voted on. [How to vote Tutorial](https://moneyonchain.com/blog/tutorial-how-to-vote-in-money-on-chain-governance/). Use the [voting site](https://manage.moneyonchain.com/).

📣 **Llamado a los MOC holders** : [Esta propuesta](https://forum.moneyonchain.com/t/rif-usd-subsidy) se está votando. [Tutorial de cómo votar](https://moneyonchain.com/es/blog/tutorial-votar-gobernanza-money-on-chain/). Usar el [sitio de voto](https://manage.moneyonchain.com/).

---

<div class="post-metadata">

**Author:** ![jbokser](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.moneyonchain.com/jbokser/32/228_2.png) [@jbokser](https://forum.moneyonchain.com/u/jbokser)\
**Post date:** [October 13, 2026, 7:52pm UTC](https://forum.moneyonchain.com/t/rif-usd-subsidy/476/3 "2026-10-13T19:52:04Z")

</div>

📣 The voting process is over:

- `29.0%` of the MOC tokens total supply participated in the vote.
- `100%` voted in favor.
- No one vote voted against the proposal.
- The change was successfully implemented.

[TX ID: `0x92ebab4e5394ae2b52a5490884cc1a9efeb838bf280649a4659e702d5a4d3efd`](https://rootstock.blockscout.com/tx/0x92ebab4e5394ae2b52a5490884cc1a9efeb838bf280649a4659e702d5a4d3efd)
