-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
enhancementNew feature or requestNew feature or requestfund adminChanges related to the fund admin palletChanges related to the fund admin pallet
Description
Description
We need to store the information of the state of the latest drawdowns on the project info
Suggested Solution
Add three new attributes for the project structure as
pub struct ProjectData<T: Config> {
pub builder: Option<BoundedVec<T::AccountId, T::MaxBuildersPerProject>>,
pub investor: Option<BoundedVec<T::AccountId, T::MaxInvestorsPerProject>>,
pub issuer: Option<BoundedVec<T::AccountId, T::MaxIssuersPerProject>>,
pub regional_center: Option<BoundedVec<T::AccountId, T::MaxRegionalCenterPerProject>>,
pub title: FieldName,
pub description: FieldDescription,
pub image: CID,
pub address: FieldName,
pub status: ProjectStatus,
pub inflation_rate: Option<u32>,
pub creation_date: u64,
pub completion_date: u64,
pub registration_date: u64,
pub updated_date: u64,
pub eb5_status: DrawdownStatus,
pub construction_loan_status: DrawdownStatus,
pub developer_equity_status: DrawdownStatus,
}Alternatives
Add a new structure that handles that information instead of storing it in each attribute on the projects
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfund adminChanges related to the fund admin palletChanges related to the fund admin pallet