---
# System prepended metadata

title: Untitled

---

Redux Refactor Steps

**Do this first** (1 day)
1) Finalize shape of the redux state 
2) Finalize pattern of usage for hooks, reducers
3) List computed info (selector) hooks

**Do this second** (x days)
1) Create hooks to get / set derived props (these are the computed properties)
    - Engine
        - derived from riskyAddress, stableAddress
        - hook uses useEngineEntity and sets the resulting value in redux
        - also appends data from useEnginePools, useEngineStatus, useEngineContract, only if needed?
    - Pool
        - derived from engine, expiry, strike, iv, sigma, gamma
        - 
    - Token
        - derived from token address
        - Populate token object in redux with all available info (logoURI, symbol, etc)
        - 
    - Approvals
        - derived from token address
    - Risky/Stable allowance (pre-approval)
        - derived from token address

* Allocate
* Dependent Fields