We can now create securities in the UI!!!!

This commit is contained in:
didier amyot committed 2023-04-05 13:48:58 -04:00
1 parent 048ac31c27
commit 4810603dd7
10 files changed
+147 -23

No files matched your search

+3 -1
View File
@@ -8,7 +8,7 @@ pub struct CreateNewSecurity {
pub security_type: String,
pub symbol: String,
pub name: String,
pub userId: UserId,
pub user_id: UserId,
}
impl CreateNewSecurity {
@@ -47,6 +47,8 @@ pub struct CreateNewAccount {
#[derive(Deserialize, Serialize, Debug)]
pub struct EmitSecurities {
pub amount: i64,
pub id: i64,
pub emitter: UserId,
pub emitter_account: AccountId,
pub payee_accounts: Vec<AccountId>,
}