fn gen_fee_payer(
global_slot: Option<Slot>,
failure: Option<&Failure>,
permissions_auth: Option<ControlTag>,
account_id: AccountId,
protocol_state_view: Option<&ProtocolStateView>,
vk: Option<&VerificationKeyWire>,
account_state_tbl: &mut HashMap<AccountId, (Account, Role)>,
) -> FeePayer