Skip to content

Commit

Permalink
feat(args): expose fields
Browse files Browse the repository at this point in the history
We need to expose certain argument fields so the indexer can read the values appropriately
  • Loading branch information
RohanKapurDEV authored Apr 23, 2023
1 parent 44f50ac commit cca54bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions programs/multisig/src/instructions/multisig_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ use crate::state::*;

#[derive(AnchorSerialize, AnchorDeserialize)]
pub struct MultisigAddMemberArgs {
new_member: Member,
pub new_member: Member,
/// Memo isn't used for anything, but is included in `AddMemberEvent` that can later be parsed and indexed.
pub memo: Option<String>,
}

#[derive(AnchorSerialize, AnchorDeserialize)]
pub struct MultisigRemoveMemberArgs {
old_member: Pubkey,
pub old_member: Pubkey,
/// Memo isn't used for anything, but is included in `RemoveMemberEvent` that can later be parsed and indexed.
pub memo: Option<String>,
}
Expand Down Expand Up @@ -43,7 +43,7 @@ pub struct MultisigAddVaultArgs {
/// The next vault index to set as the latest used.
/// Must be the current `vault_index + 1`.
/// We pass it explicitly to make this instruction idempotent.
vault_index: u8,
pub vault_index: u8,
/// Memo isn't used for anything, but is included in `ChangeThreshold` that can later be parsed and indexed.
pub memo: Option<String>,
}
Expand Down

0 comments on commit cca54bf

Please sign in to comment.