Skip to content

Commit 5e9d8d7

Browse files
committed
unify fee recipient into metadao operational multisig vault
1 parent f63d53a commit 5e9d8d7

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

programs/v07_launchpad/src/instructions/complete_launch.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ use crate::error::LaunchpadError;
1717
use crate::events::{CommonFields, LaunchCloseEvent, LaunchCompletedEvent};
1818
use crate::state::{Launch, LaunchState};
1919
use crate::{
20-
fee_recipient, PRICE_SCALE, PROPOSAL_MIN_STAKE_TOKENS, TOKENS_TO_DAMM_V2_LIQUIDITY_UNSCALED,
21-
TOKENS_TO_FUTARCHY_LIQUIDITY, TOKENS_TO_PARTICIPANTS, TOKEN_SCALE,
20+
metadao_multisig_vault, PRICE_SCALE, PROPOSAL_MIN_STAKE_TOKENS,
21+
TOKENS_TO_DAMM_V2_LIQUIDITY_UNSCALED, TOKENS_TO_FUTARCHY_LIQUIDITY, TOKENS_TO_PARTICIPANTS,
22+
TOKEN_SCALE,
2223
};
2324
use anchor_spl::metadata::{
2425
mpl_token_metadata::ID as MPL_TOKEN_METADATA_PROGRAM_ID, update_metadata_accounts_v2, Metadata,
@@ -213,7 +214,7 @@ pub struct CompleteLaunch<'info> {
213214
pub bid_wall_quote_token_account: UncheckedAccount<'info>,
214215

215216
/// CHECK: The fee recipient of bid wall fees, a fixed address
216-
#[account(address = fee_recipient::id())]
217+
#[account(address = metadao_multisig_vault::id())]
217218
pub fee_recipient: AccountInfo<'info>,
218219

219220
pub system_program: Program<'info, System>,

programs/v07_launchpad/src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,6 @@ pub mod usdc_mint {
5050
declare_id!("EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v");
5151
}
5252

53-
// TODO - Pileks: Set this to the correct fee recipient address
54-
pub mod fee_recipient {
55-
use anchor_lang::prelude::declare_id;
56-
57-
// MetaDAO multisig vault
58-
declare_id!("6awyHMshBGVjJ3ozdSJdyyDE1CTAXUwrpNMaRGMsb4sf");
59-
}
60-
6153
pub mod metadao_multisig_vault {
6254
use anchor_lang::prelude::declare_id;
6355

0 commit comments

Comments
 (0)