## Overview Implement the `create_proposal` function so admin or eligible members can submit governance proposals. Work inside `contracts/sandbox/governance/`. ## Acceptance Criteria - [ ] `create_proposal(env, proposer, id, title, description, start_time, end_time)` is implemented - [ ] `proposer.require_auth()` is called - [ ] Validates `start_time < end_time` - [ ] Returns error if proposal ID already exists - [ ] Stores proposal with `Active` status - [ ] Indexes proposal ID in `ProposalList` - [ ] Emits a creation event - [ ] Code compiles with `cargo build`
Overview
Implement the
create_proposalfunction so admin or eligible members can submit governance proposals. Work insidecontracts/sandbox/governance/.Acceptance Criteria
create_proposal(env, proposer, id, title, description, start_time, end_time)is implementedproposer.require_auth()is calledstart_time < end_timeActivestatusProposalListcargo build