You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dynamic Rateprovider by Gyroscope. The rate can be adjusted by calling `updateToEdge()` which will bring the pool back at the edge of the range.
14
+
15
+
## Review Checklist: Bare Minimum Compatibility
16
+
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.
17
+
18
+
-[x] Implements the [`IRateProvider`](https://github.com/balancer/balancer-v2-monorepo/blob/bc3b3fee6e13e01d2efe610ed8118fdb74dfc1f2/pkg/interfaces/contracts/pool-utils/IRateProvider.sol) interface.
19
+
-[x]`getRate` returns an 18-decimal fixed point number (i.e., 1 == 1e18) regardless of underlying token decimals.
20
+
21
+
### Administrative Privileges
22
+
-[ ] The Rate Provider is upgradeable** (e.g., via a proxy architecture).
23
+
-[ ] Other contracts which are part of the `getRate` callchain are upgradeable**. You can find more information
24
+
about the involved contracts in this [tenderly simulation](https://www.tdly.co/shared/simulation/6fe4548d-210b-48c1-9f87-8a1e79321237)
25
+
26
+
## Conclusion
27
+
**Summary judgment: USABLE**
28
+
29
+
** upgradeable in this context means that:
30
+
- The contract is a proxy contract with an implementation sourced from Etherscan and the proxy emitted an "Upgraded" event.
Dynamic Rateprovider by Gyroscope. The rate can be adjusted by calling `updateToEdge()` which will bring the pool back at the edge of the range.
14
+
15
+
## Review Checklist: Bare Minimum Compatibility
16
+
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.
17
+
18
+
-[x] Implements the [`IRateProvider`](https://github.com/balancer/balancer-v2-monorepo/blob/bc3b3fee6e13e01d2efe610ed8118fdb74dfc1f2/pkg/interfaces/contracts/pool-utils/IRateProvider.sol) interface.
19
+
-[x]`getRate` returns an 18-decimal fixed point number (i.e., 1 == 1e18) regardless of underlying token decimals.
20
+
21
+
### Administrative Privileges
22
+
-[ ] The Rate Provider is upgradeable** (e.g., via a proxy architecture).
23
+
-[ ] Other contracts which are part of the `getRate` callchain are upgradeable**. You can find more information
24
+
about the involved contracts in this [tenderly simulation](https://www.tdly.co/shared/simulation/6fa21e7c-cf60-4405-9483-e2814222c9eb)
25
+
26
+
## Conclusion
27
+
**Summary judgment: USABLE**
28
+
29
+
** upgradeable in this context means that:
30
+
- The contract is a proxy contract with an implementation sourced from Etherscan and the proxy emitted an "Upgraded" event.
0 commit comments