Summary
Since the SEP-41 balance()/total_supply() functions (per the design doc) read the exact same DataKey::LPShares/DataKey::TotalShares storage that deposit()/withdraw() already populate, existing depositors' balances should already be valid under the new interface with no data migration script needed. This needs to be verified with a test, not assumed, since an incorrect assumption here would mean existing testnet LPs silently lose access to their position.
Acceptance Criteria
Tech Stack
Rust, Soroban SDK, contracts/pool/src/test.rs, contracts/pool/src/lib.rs
Summary
Since the SEP-41 balance()/total_supply() functions (per the design doc) read the exact same DataKey::LPShares/DataKey::TotalShares storage that deposit()/withdraw() already populate, existing depositors' balances should already be valid under the new interface with no data migration script needed. This needs to be verified with a test, not assumed, since an incorrect assumption here would mean existing testnet LPs silently lose access to their position.
Acceptance Criteria
Tech Stack
Rust, Soroban SDK, contracts/pool/src/test.rs, contracts/pool/src/lib.rs