CurveStableSwapAdapterStorage
ERC-7201 namespaced storage for the Curve StableSwap single-sided LP adapter.
Note:
- storage-location: erc7201:lattice.storage.CurveStableSwapAdapter
struct CurveStableSwapAdapterStorage {
/// @dev The Curve StableSwap pool (2-coin) this adapter LPs into.
address _pool;
/// @dev The pool's LP token (held loose or staked in the gauge).
address _lpToken;
/// @dev Optional staking gauge; address(0) means the adapter holds LP unstaked.
address _gauge;
/// @dev The underlying asset supplied/withdrawn single-sided (== pool coin at `_coinIndex`).
address _asset;
/// @dev The Lattice vault funds are returned to on withdraw/emergency.
address _vault;
/// @dev Reward recipient for raw-forwarded CRV (+ gauge extras).
address _rewardRecipient;
/// @dev The CRV (primary gauge reward) token forwarded raw on harvest; address(0) == none.
address _crvToken;
/// @dev The pool coin index `_asset` occupies (0 or 1 for a 2-coin pool).
int128 _coinIndex;
/// @dev Slippage tolerance in basis points applied to add/remove min-out floors.
uint256 _slippageBps;
/// @dev Authorized operator: the SOLE caller permitted to invoke `deploy`/`withdraw`/`harvest`
/// (the StrategyManager in the live system). Zero until wired ⇒ that trio reverts.
/// APPENDED last (append-only ERC-7201 rule — never reorder/insert).
address _operator;
}Properties
| Name | Type | Description |
|---|---|---|
| _pool | address | |
| _lpToken | address | |
| _gauge | address | |
| _asset | address | |
| _vault | address | |
| _rewardRecipient | address | |
| _crvToken | address | |
| _coinIndex | int128 | |
| _slippageBps | uint256 | |
| _operator | address |