Function light_test_utils::spl::approve_test

source ยท
pub async fn approve_test<R: RpcConnection, I: Indexer<R>>(
    authority: &Keypair,
    rpc: &mut R,
    test_indexer: &mut I,
    input_compressed_accounts: Vec<TokenDataWithContext>,
    delegated_amount: u64,
    delegate_lamports: Option<u64>,
    delegate: &Pubkey,
    delegated_compressed_account_merkle_tree: &Pubkey,
    change_compressed_account_merkle_tree: &Pubkey,
    transaction_params: Option<TransactionParams>,
)