Improve solana-tokens UX (#12253)
* Fix computed banks port * Readme incorrect * Return error if csv cannot be read * Move column headers over columns * Add dry-run check for sender/fee-payer balances * Use clap requires method for paired args * Write transaction-log anytime outfile is specified * Replace campaign-name with required db-path * Remove bids * Exclude new_stake_account_address from logs for non-stake distributions * Fix readme
This commit is contained in:
@@ -2,9 +2,8 @@ use solana_sdk::{pubkey::Pubkey, signature::Signer};
|
||||
|
||||
pub struct DistributeTokensArgs {
|
||||
pub input_csv: String,
|
||||
pub from_bids: bool,
|
||||
pub transaction_db: String,
|
||||
pub dollars_per_sol: Option<f64>,
|
||||
pub output_path: Option<String>,
|
||||
pub dry_run: bool,
|
||||
pub sender_keypair: Box<dyn Signer>,
|
||||
pub fee_payer: Box<dyn Signer>,
|
||||
@@ -21,8 +20,6 @@ pub struct StakeArgs {
|
||||
|
||||
pub struct BalancesArgs {
|
||||
pub input_csv: String,
|
||||
pub from_bids: bool,
|
||||
pub dollars_per_sol: Option<f64>,
|
||||
}
|
||||
|
||||
pub struct TransactionLogArgs {
|
||||
|
Reference in New Issue
Block a user