> For the complete documentation index, see [llms.txt](https://docs.ufg.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ufg.finance/developers/contract-ecosystem.md).

# Contract Ecosystem

The UFG ecosystem consists of a fixed-supply token, two treasuries, a factory for other coins' treasuries, and a revenue system. Most contracts are on Robinhood Chain (chain ID 4663). The sfrxETH funding helper runs on Ethereum.

Treasury v1 and Treasury v2 have fixed rules, no upgrade path and no pause switch. The revenue system has different controls: its splitter is upgradeable through a seven-day timelock, and its operators can pause settlement. Those powers do not extend to assets already held by either $UFG treasury

### How the contracts connect

$UFG's own creator fees go directly from the Pons fee escrow to Treasury v1. Coins using the UFG factory have a separate path: each coin's router divides its creator fees between that coin's treasury and UFG's platform revenue.

```mermaid
flowchart TD
    A[Creator fees from the UFG market] --> B[Pons fee escrow]
    B --> C[Treasury v1: ETH]
    D[Creator fees from factory coins] --> E[Pons fee escrow]
    E --> F[Each coin's fee router]
    F --> G[That coin's treasury]
    F -->|UFG platform share| H[Revenue splitter]
    H -->|Allocation| I[Corporate Safe: USDG]
    H -->|Allocation| J[Funding collector: ETH]
    J --> K[Bridge route to Ethereum]
    K --> L[Funding helper: mint and bridge sfrxETH]
    L --> M[Treasury v2: sfrxETH]
```

The 50/50 split is the splitter's deployed allocation of incoming assets. Conversion and bridge costs affect what reaches each destination. These steps require separate transactions; revenue at the splitter or in transit is not yet backing in Treasury v2.

### $UFG and its treasuries

| Contract    | Address                                                                                                                     | Purpose                                                                                        |
| ----------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| $UFG coin   | [0xEfAb538Cf3C29237A47c6aFB145D50Ddf204A0A3](https://robin.etherscan.io/address/0xEfAb538Cf3C29237A47c6aFB145D50Ddf204A0A3) | Fixed-supply ERC-20 token launched through Pons V2.                                            |
| Treasury v1 | [0xc7220C3004662ef3942aef43452893086b9D6fB5](https://robin.etherscan.io/address/0xc7220C3004662ef3942aef43452893086b9D6fB5) | Holds ETH and pays holders who burn $UFG.                                                      |
| Treasury v2 | [0x8dD84F1901BD74A4D137f0f6a5A3A90E686AAB1D](https://robin.etherscan.io/address/0x8dD84F1901BD74A4D137f0f6a5A3A90E686AAB1D) | Holds sfrxETH, supports redemption through both treasuries, and lends against $UFG collateral. |

Pons minted 1,000,000,000 $UFG at launch. There is no mint function after launch. Tokens sent to the dead address, `0x000000000000000000000000000000000000dEaD`, leave the effective supply used by the treasuries.

#### Treasury v1

v1 holds ETH and claims $UFG's creator fees from the Pons escrow. Anyone can call `collect()` to claim credited fees. A holder calls `redeem(amount, minOut, to)` to burn $UFG and receive its pro-rata share of the ETH, less a 2% exit fee retained in v1. Anyone can call `burnStray()` to burn $UFG sent to v1 by mistake.

Read-only functions include `treasury()`, `effectiveSupply()`, `backing()` and `quoteRedeem(amount)`. The admin had one power: bind the token once. That step ran at launch on August 30, 2026, leaving no ongoing administrative power.

See Treasury v1 for its accounting and redemption rules.

#### Treasury v2

v2 holds Frax's sfrxETH token on Robinhood Chain. A redemption through v2 burns $UFG once and pays both v1's ETH payout, after v1's 2% fee, and 85% of the holder's share of v2's assets as sfrxETH. The other 15% stays in v2. If either payout fails, including because v2 lacks liquid sfrxETH, the whole transaction reverts.

Holders can also post $UFG as collateral and borrow sfrxETH. v2's asset accounting includes held sfrxETH plus outstanding loan principal. Its supply calculation excludes the permanently locked $UFG in the Pons launch locker; v1's calculation includes those tokens.

v2 has no owner or configuration role. Its reserve token, v1 connection and loan parameters are fixed. See Treasury v2 for the borrowing and liquidation rules.

### UFG factory

| Contract   | Address                                                                                                                     |
| ---------- | --------------------------------------------------------------------------------------------------------------------------- |
| UFGFactory | [0x26C2216184D68160216B61323197EA72f6142000](https://robin.etherscan.io/address/0x26C2216184D68160216B61323197EA72f6142000) |

The factory was deployed on October 27, 2026. It gives a qualifying Pons coin its own `UFGLaunchFeeRouter` and `UFGLaunchTreasury`. The factory's `launches(token)` record identifies the contracts for each coin.

The router claims creator fees, reserves UFG's platform share and sends the remainder to that coin's treasury. Anyone can trigger the release of accumulated platform fees to the revenue splitter. Each coin's reserve stays separate from $UFG's reserves.

The platform share is a fixed fraction of creator fees, calculated for a target of 0.03% of trading volume under the coin's standard fee terms. Special launch taxes and conversion price impact can change the effective percentage of volume. Redemption fees remain in the coin's own treasury.

The factory, routers and launch treasuries have no owner or upgrade path. The splitter they pay has its own governance, described below.

### Revenue and governance

The revenue module was deployed on October 17, 2026. Its splitter allocates 50% of each incoming asset to corporate and 50% to Treasury v2 funding. The configured corporate payment is USDG to the Corporate Safe; the treasury payment is ETH to the funding collector.

| Contract               | Address                                                                                                                     | Role                                                                                                      |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| Revenue splitter proxy | [0x267c89e07C5eF503C0B6CC1fa9bd0437f521fB06](https://robin.etherscan.io/address/0x267c89e07C5eF503C0B6CC1fa9bd0437f521fB06) | Receives revenue and keeps each destination's allocation. Use this address to interact with the splitter. |
| Revenue converter      | [0xf909C99Edc375815317DB1aefF1e12e5acDC2450](https://robin.etherscan.io/address/0xf909C99Edc375815317DB1aefF1e12e5acDC2450) | Converts allocated assets through configured routes.                                                      |
| Revenue governance     | [0xe526fE829fea663355Ed73973975cE4b48CA0E82](https://robin.etherscan.io/address/0xe526fE829fea663355Ed73973975cE4b48CA0E82) | Handles proposals, execution and controller/guardian roles.                                               |
| Timelock               | [0xFeefe064DC1C8581049B20A7C0F98c5e9BF1bD39](https://robin.etherscan.io/address/0xFeefe064DC1C8581049B20A7C0F98c5e9BF1bD39) | Enforces the seven-day proposal delay.                                                                    |
| ProxyAdmin             | [0xe74aeB554C0c841b73244681D5E5414B209fDF8a](https://robin.etherscan.io/address/0xe74aeB554C0c841b73244681D5E5414B209fDF8a) | Owned by the timelock; performs splitter upgrades.                                                        |

The splitter's deployed implementation is [0xB47A1fA3dBbf00e58F05b031cFa13db4d731Ae3B](https://robin.etherscan.io/address/0xB47A1fA3dBbf00e58F05b031cFa13db4d731Ae3B). It supplies the code behind the proxy; it is not the revenue receiving address.

Anyone can trigger settlement when the input already matches the destination asset. A payment requiring conversion needs an authorized keeper. The converter uses configured routes, amount limits and minimum outputs; routes can also use Chainlink-based price floors. Deployment of a route does not by itself activate it.

| Role       | Authority                                                                                                                                                                                    |
| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Controller | Proposes changes; can cancel proposals, pause activity and remove keepers.                                                                                                                   |
| Guardian   | Can cancel proposals, pause or unpause activity and remove keepers. Cannot choose destinations or propose upgrades.                                                                          |
| Timelock   | Applies approved changes after seven days, including destinations, routes, keepers, converters and splitter upgrades. Anyone can execute a matured proposal through the governance contract. |
| Keeper     | Triggers conversions within configured rules. Cannot choose a different recipient or route.                                                                                                  |

The revenue module's recorded Safe addresses are:

| Safe       | Address                                                                                                                     |
| ---------- | --------------------------------------------------------------------------------------------------------------------------- |
| Controller | [0x279df280c3C8cDb90ec2056ec7D3b2Ff94D32A32](https://robin.etherscan.io/address/0x279df280c3C8cDb90ec2056ec7D3b2Ff94D32A32) |
| Guardian   | [0xb11F0C78799c050AE4C8769939dA1ae1c6372B65](https://robin.etherscan.io/address/0xb11F0C78799c050AE4C8769939dA1ae1c6372B65) |
| Corporate  | [0xc3795249A4559f94CCa8E34372B03Dcadefd23F7](https://robin.etherscan.io/address/0xc3795249A4559f94CCa8E34372B03Dcadefd23F7) |

**The revenue split is not immutable.** The deployed implementation has no percentage setter, but an upgrade can change its rules, including allocations and destinations. The delay provides time to inspect a proposal, and the guardian can cancel it. These controls govern revenue still in the revenue system; they cannot withdraw assets from Treasury v1, Treasury v2 or a factory coin's treasury.

### Treasury v2 funding

| Contract                 | Chain           | Address                                                                                                                     |
| ------------------------ | --------------- | --------------------------------------------------------------------------------------------------------------------------- |
| Funding collector        | Robinhood Chain | [0xD29F10f8C8eB7a545c97675e65cE05fcB01F9a60](https://robin.etherscan.io/address/0xD29F10f8C8eB7a545c97675e65cE05fcB01F9a60) |
| Across route             | Robinhood Chain | [0x50abE8Cc5AA187F60948A5d8E402636ecDB44664](https://robin.etherscan.io/address/0x50abE8Cc5AA187F60948A5d8E402636ecDB44664) |
| Canonical fallback route | Robinhood Chain | [0xfFFA6D55091936289A766c0EaCFc710cB17df126](https://robin.etherscan.io/address/0xfFFA6D55091936289A766c0EaCFc710cB17df126) |
| sfrxETH funding helper   | Ethereum        | [0x08f61D23DA752768281e24125Ad9c298b90FEc7f](https://etherscan.io/address/0x08f61D23DA752768281e24125Ad9c298b90FEc7f)       |

Anyone can call the collector's `sendBatch()` when its minimum and pause conditions allow. The selected route moves ETH to the helper on Ethereum. The helper's public `process()` function mints sfrxETH and sends it through Frax's bridge to Treasury v2. Only the sfrxETH that arrives becomes v2 backing.

The collector has separate controller and guardian roles. A new route requires a seven-day delay. Either role can pause new batches for 30 days at a time or switch immediately to the fixed fallback route. Changing a route can change the path of future funding; it gives no control over assets already in v2.

The deployed routes and helper have fixed destinations. The helper has no owner, upgrade or general rescue function. A failure in its external dependencies can leave funds there unable to complete the journey.

### External dependencies

| Dependency                                                                                                       | Used for                                                                             |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| [Pons V2 factory](https://robin.etherscan.io/address/0x7eD598BcEf8bd9Edd8C97A195C6d13f40801EC7e)                 | Launch records and validation of coins using the UFG factory.                        |
| [Pons V2 fee escrow](https://robin.etherscan.io/address/0xd3AFEB2a57f70eF218Aa82451c51B2fb0416Ac9e)              | Creator fees claimed by Treasury v1 and factory fee routers.                         |
| [Pons permanent launch locker](https://robin.etherscan.io/address/0x267444D099b10fB5Ed7c3Cc7B7c767AdcA574952)    | Permanently locked tokens excluded from v2 and factory treasury supply calculations. |
| [Uniswap v4 PoolManager](https://robin.etherscan.io/address/0x8366a39CC670B4001A1121B8F6A443A643e40951)          | Market trading and revenue conversion routes.                                        |
| [sfrxETH on Robinhood Chain](https://robin.etherscan.io/address/0x00000000883279097A49dB1f2af954EAd0C77E3c)      | Treasury v2's reserve asset; its token contract is upgradeable by Frax.              |
| [USDG](https://robin.etherscan.io/address/0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168) and supported quote assets | Corporate payments and assets received as platform revenue.                          |
| Chainlink-compatible feeds                                                                                       | Reference prices for configured revenue routes.                                      |
| Across, the canonical bridge and Frax's minting and bridging contracts                                           | Moving revenue between chains and delivering sfrxETH to v2.                          |

UFG does not control these external systems. Fixed treasury code does not remove token issuer, bridge, liquidity or chain risks. See Risks and the Treasury v2 disclosures.
