For the complete documentation index, see llms.txt. This page is also available as Markdown.

Contracts

All RHEA Finance contracts are deployed on NEAR Protocol. RHEA tokens on BNB Smart Chain and Solana are bridged representations of the NEAR-native RHEA token. The source code of RHEA Finance can be found on GitHub.

Find below the list of all accounts that have directly managed or currently manage the affairs of RHEA Finance.

Mainnet Contracts

Tokens

Address
Type
Mission
Locked?

token.rhealab.near

$RHEA Fungible Token Contract

Mint RHEA token

Yes

xtoken.rhealab.near

$xRHEA Fungible Token Contract

Mint xRHEA token

Yes

otoken.rhealab.near

oRHEA Token Contract

Bonus token for participation in the Credit Program, convertible to RHEA

No

Bridged RHEA Tokens

Network
Address

BNB Smart Chain

0x4c067DE26475E1CeFee8b8d1f6E2266b33a2372E

Solana

8SMMso8Muv8d6i4WmMDthKt6TN1ysN6937sx3DKLXZqB

Protocol Contracts

Address
Type
Mission
Locked?

v2.ref-finance.near

Exchange Contract

Manage the Automated Market Maker functions; Swap and Provide Liquidity

Yes

boostfarm.ref-labs.near

Farming Contract

Manage liquidity incentives

Yes

dclv2.ref-labs.near

Concentrated Liquidity Contract (Ref v2)

Manage concentrated liquidity and limit order functions

Yes

multica.near

Multi-chain Account Manager Contract

Create and register multi-chain accounts for cross-chain lending

Yes

lst.rhealab.near

LST Contract

Manage rNEAR token

Yes

contract.main.burrow.near

Lending Contract

Manage lending, borrowing, collateral, repayments, and liquidations

Yes

orhea-conv.rhealab.near

oRHEA Conversion Contract

Manage oRHEA-to-RHEA conversion and claims

Yes

aggregate-oracle.near

Price Oracle Contract

Provide asset price feeds to lending and exchange contracts

Yes

lsd-usdt.rhealab.near

USDT Yield (LSD) Contract

Mint and redeem nrUSDT against USDT deposits and manage yield through Burrow

Yes

0x04dFb979Ffa1Fb08B6e6EF626377161CBB085Cf1

Aggregator Contract (Aurora)

Manage Stargate - Rainbow Bridge assets

N/A

Testnet Contracts

Address
Type
Mainnet counterpart

ref-finance-101.testnet

Exchange Contract

v2.ref-finance.near

boostfarm.ref-finance.testnet

Farming Contract

boostfarm.ref-labs.near

dclv2.ref-dev.testnet

Concentrated Liquidity Contract (DCL)

dclv2.ref-labs.near

Timelock

Timelocks are a smart contract feature that states that some actions will only be performed after a certain period of time rather than immediately.

RHEA Finance does not use/have a timelock feature. RHEA Finance contracts are upgraded through DAO proposals, thus providing time to users, via the voting period of the associated proposal, to protect their funds in case they identify suspicious activities.

DAO proposals usually take from 48 to 72 hours either to get approved or rejected.

Frozen List

The RHEA Finance Exchange contract (v2.ref-finance.near) has a 'Frozen List' feature, which was deployed on version 1.6.0+.

The feature enables the owner and/or Guardians of the contract to freeze any token listed on the exchange. When frozen, any action (Swap, Add/Remove liquidity, Deposit, Withdraw, etc.) on the corresponding token will fail, resulting in a 'panic error' at the contract level.

Motivation

The Frozen List feature has been designed to mitigate the impact of any attack or hack associated to a specific token and its potential contagion within the ecosystem.

The feature can also be activated as a preventive measure. For example, in November 2022, Metapool identified a critical bug on its contract. RHEA Finance was informed and immediately froze the STNEAR token, preventing users from any associated action (trading and pooling) on the exchange, thus reducing the severity of the impact (trading losses, extreme volatility, etc.) that such a bug could have caused to traders and LPs.

Legacy Contracts (Ref Finance)

The contracts below belong to the Ref Finance era and are no longer in active use. REF and xREF were converted to the new RHEA token. They are listed here for transparency.

Address
Type
Mission
Locked?

token.v2.ref-finance.near

$REF Fungible Token Contract

Mint REF token (converted to RHEA)

Yes

xtoken.ref-finance.near

Staking Contract

Mint and burn xREF, and distribute time-based rewards (converted to RHEA)

Yes

token.ref-finance.near

Fungible Token Contract

v1 (obsolete) - Mint REF token

Yes

ref-finance.near

Exchange Contract

v1 (obsolete) - Manage the Automated Market Maker functions; Swap and Provide Liquidity

No

v2.ref-farming.near

Farming Contract

v2 (obsolete) - Manage liquidity incentives

Yes

dcl.ref-labs.near

Concentrated Liquidity Contract

Beta (obsolete) - Manage concentrated liquidity and limit order functions

No

Last updated

Was this helpful?