Funds - Treasury & Reserve Contracts
XRPL Testnet
Treasury & Fund Management
- RTreasuryV8:
0x0d838D8871883388806b87b00Cd7bD9bbd8A3417 - RiskFundV2:
0x26C12d7f9A4d39A6c52aE9767E97c6f6b54E6161 - ProtocolShareReserve:
0x0883B6ed27Ac893d1c6d3E74d07e7e0B57F7e5c9 - Shortfall:
0x6e75CCC599bD23131f8e4aE038eE83AFAA73F3F8
Access Control & Management
- AccessControlManager:
0xD6F0536FE2346c5c5620a0D68E7F6f1086c45671 - NormalTimelock:
0x342A7ddEd16F870b625a6020281D969841056aA5 - FastTrackTimelock:
0x3D23794c2da6B8cFC9914c8b116A270b8EFdA2Ff - CriticalTimelock:
0xF086b3146Ad474e033980272Ce55FDF7dEceB777
Reward Distribution
- RewardsDistributor Implementation:
0xBe3cF4A8Bb73Eb6C04ab52654Ab1d0d0b23c8f6b
Core Pool Reward Distributors:
- RewardsDistributor_Core_0 (RFT):
0x9da14d6f3c3Fa6b68Ba9B0D2ebF3f3A6e6d8A7c2 - RewardsDistributor_Core_1 (CRV):
0x6c7F7f8d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b
Curve Pool Reward Distributors:
- RewardsDistributor_Curve_0 (RFT):
0x5b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c9b8a - RewardsDistributor_Curve_1 (CRV):
0x4a59483726150a8f9d8e7c6b5a4f3e2d1c0b9a8f
Liquid Staked ETH Pool Reward Distributor:
- RewardsDistributor_LiquidStakedETH_0 (USDC):
0x3948373625140f7e8d6c5b4a9f8e7d6c5b4a3f2e
Reward Tokens
- CRV (Mock):
0x51cac311288e712f10C14bEC3C4b00075476E25F - USDC (Mock):
0x28b7fD34d03f7222eAC40951a0b89b13FdF2b5FE
Contract Descriptions
RTreasuryV8
Main treasury contract for managing protocol funds and reserve assets. Handles fund allocation, withdrawals, and governance.
RiskFundV2
Manages the protocol's risk reserves. Converts and holds base assets for use in shortfall events and liquidations.
ProtocolShareReserve
Tracks and manages the protocol's share of reserves collected from fees and other protocol revenue streams.
Shortfall
Handles the auction process when a pool's reserves are insufficient to cover shortfalls. Coordinates liquidations and fund recovery.
AccessControlManager
Central access control contract that manages permissions for all protocol functions across pools and contracts.
Timelocks (NormalTimelock, FastTrackTimelock, CriticalTimelock)
Time-locked execution contracts for governance decisions:
- NormalTimelock: Standard 2-day delay for non-critical changes
- FastTrackTimelock: Expedited process for time-sensitive changes
- CriticalTimelock: Immediate execution for critical security matters (with multi-sig override)
RewardsDistributors
Manage the distribution of reward tokens (RFT, CRV, USDC) to suppliers and borrowers across different pools and markets.
Notes
- All addresses are deployed on XRPL Testnet
- Treasury and fund contracts are shared across all pools
- Each pool has independent reward distributors for different reward tokens
- Timelocks provide governance security with graduated delay periods
- All contracts follow OpenZeppelin upgradeable proxy patterns