Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions rate-providers/registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -2627,6 +2627,15 @@
}
]
},
"0xA4c27E4Aa764312fD958345Ed683c6eeC4581A10": {
"asset": "0x7788A3538C5fc7F9c7C8A74EAC4c898fC8d87d92",
"name": "sUSDXRateProvider",
"summary": "safe",
"review": "./sUSDXRateProvider.md",
"warnings": [],
"factory": "",
"upgradeableComponents": []
},
"0x8Be2e3D4b85d05cac2dBbAC6c42798fb342aef45": {
"asset": "0x2411802D8BEA09be0aF8fD8D08314a63e706b29C",
"name": "fwstETH / wstETH MarketRateTransformerRateProvider",
Expand Down
34 changes: 34 additions & 0 deletions rate-providers/sUSDXRateProvider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

# Rate Provider: sUSDXRateProvider.md

## Details
This report was autogenerated on 26/03/2025.

- Deployed at:
- [Ethereum:0xA4c27E4Aa764312fD958345Ed683c6eeC4581A10](https://etherscan.io/address/0xA4c27E4Aa764312fD958345Ed683c6eeC4581A10)
- Audit report(s):
- [susdx audits](https://docs.usdx.money/informaiton/audit)

## Context
Staking is controlled by the StakedUSDX smart contract. Stakers can interact with it directly or through https://usdx.money/stake.
When staking, a user transfers USDX into the contract and receives sUSDX (staked USDX), another ERC20 token that represents a fractional interest in the USDX in the contract.
Over time, a portion of protocol revenue accumulates in the staking contract as additional USDX is transferred in.
When unstaking, sUSDX is burned in exchange for a proportionate USDX amount. For faster conversion into aforementioned stablecoins, users can swap sUSDX into USDX through liquidity pools (LPs).

## Review Checklist: Bare Minimum Compatibility
Each of the items below represents an absolute requirement for the Rate Provider. If any of these is unchecked, the Rate Provider is unfit to use.

- [x] Implements the [`IRateProvider`](https://github.com/balancer/balancer-v2-monorepo/blob/bc3b3fee6e13e01d2efe610ed8118fdb74dfc1f2/pkg/interfaces/contracts/pool-utils/IRateProvider.sol) interface.
- [x] `getRate` returns an 18-decimal fixed point number (i.e., 1 == 1e18) regardless of underlying token decimals.

### Administrative Privileges
- [ ] The Rate Provider is upgradeable** (e.g., via a proxy architecture).
- [ ] Other contracts which are part of the `getRate` callchain are upgradeable**. You can find more information
about the involved contracts in this [tenderly simulation](https://www.tdly.co/shared/simulation/cf68cdb6-3b1a-4872-b4e0-079baf98781a)

## Conclusion
**Summary judgment: USABLE**

** upgradeable in this context means that:
- The contract is a proxy contract with an implementation sourced from Etherscan and the proxy emitted an "Upgraded" event.