crea8r / communify

Decaying tokens.
0 stars 0 forks source link

Fee to AdminAccount #4

Open 0xk2 opened 4 months ago

0xk2 commented 4 months ago

Create community & close bag will incur some fee to the protocol

pub struct AdminAccount {
  // also the fee receiver
  pub authority: Pubkey,
  // fee in lamport
  pub close_bag_fee: u64,
  pub create_community_fee: u64,
}

Initial value for both fee is 1000 LAMPORT (1 SOL = 10^9 LAMPORT).