Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions project_registry/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,14 @@ pub enum CertificationStatus {
Revoked = 3,
}

/// The lifecycle status of a project (#27).
///
/// Which variants this contract can produce today: project creation writes
/// `Pending`, and `archive_project` writes `Archived`. The `Active`, `Funded`,
/// and `Completed` variants are reserved for future vault-managed lifecycle
/// transitions and are not currently assigned by this contract; do not branch
/// on them in downstream logic until the cross-contract funding-status call is
/// implemented (see #329).
#[contracttype]
#[derive(Clone, Debug, PartialEq)]
#[repr(u32)]
Expand Down
Loading