Labels: contract, enhancement, prediction
Problem
A prediction position is bound permanently to its creator's address and cannot be transferred, blocking any secondary-market activity or account migration.
Requirements
- Add an authorized transfer of a position from owner to a new address.
- Update ownership records and reject transfers of settled positions.
- Require owner authorization for the transfer.
- Emit a transfer event with from/to and position id.
Acceptance Criteria
- Transfer moves full ownership and the new owner can later claim.
- Transfers of settled/closed positions revert.
- Only the current owner can authorize a transfer.
- Tests cover transfer, unauthorized attempt, and post-settlement attempt.
Files
contracts/open-market/src/prediction.rs, contracts/open-market/src/storage_types.rs, contracts/open-market/src/errors.rs
Labels: contract, enhancement, prediction
Problem
A prediction position is bound permanently to its creator's address and cannot be transferred, blocking any secondary-market activity or account migration.
Requirements
Acceptance Criteria
Files
contracts/open-market/src/prediction.rs,contracts/open-market/src/storage_types.rs,contracts/open-market/src/errors.rs